Compare commits
No commits in common. "forge/BAIS-MULTI-1783812074-attempt-1" and "main" have entirely different histories.
forge/BAIS
...
main
5 changed files with 0 additions and 76 deletions
|
|
@ -1,3 +0,0 @@
|
||||||
# BAIS-MULTI-1783812074-attempt-1
|
|
||||||
|
|
||||||
Forge 이슈 작업 브랜치 `forge/BAIS-MULTI-1783812074-attempt-1`.
|
|
||||||
18
pom.xml
18
pom.xml
|
|
@ -1,18 +0,0 @@
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
|
|
||||||
<groupId>com.klaro.bais</groupId>
|
|
||||||
<artifactId>bais-platform</artifactId>
|
|
||||||
<version>1.0-SNAPSHOT</version>
|
|
||||||
<packaging>pom</packaging>
|
|
||||||
|
|
||||||
<modules>
|
|
||||||
<module>services/payments</module>
|
|
||||||
</modules>
|
|
||||||
|
|
||||||
<parent>
|
|
||||||
<groupId>org.springframework.boot</groupId>
|
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
|
||||||
<version>3.5.14</version>
|
|
||||||
</parent>
|
|
||||||
</project>
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
|
|
||||||
<parent>
|
|
||||||
<relativePath>../../pom.xml</relativePath>
|
|
||||||
<groupId>com.klaro.bais</groupId>
|
|
||||||
<artifactId>bais-platform</artifactId>
|
|
||||||
<version>1.0-SNAPSHOT</version>
|
|
||||||
</parent>
|
|
||||||
|
|
||||||
<artifactId>payments</artifactId>
|
|
||||||
<version>1.0-SNAPSHOT</version>
|
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.commons</groupId>
|
|
||||||
<artifactId>commons-lang3</artifactId>
|
|
||||||
<version>3.18.0</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
</project>
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
package com.klaro.bais.payments;
|
|
||||||
|
|
||||||
import org.apache.commons.lang3.StringUtils;
|
|
||||||
|
|
||||||
public class PaymentReferenceService {
|
|
||||||
public String normalize(String input) {
|
|
||||||
return StringUtils.trimToEmpty(input);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
package com.klaro.bais.payments;
|
|
||||||
|
|
||||||
import org.junit.jupiter.api.Test;
|
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
|
||||||
|
|
||||||
class PaymentReferenceServiceTest {
|
|
||||||
|
|
||||||
private final PaymentReferenceService service = new PaymentReferenceService();
|
|
||||||
|
|
||||||
@Test
|
|
||||||
void testNormalizeWithNull() {
|
|
||||||
assertEquals("", service.normalize(null));
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
void testNormalizeWithEmptyString() {
|
|
||||||
assertEquals("", service.normalize(""));
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
void testNormalizeWithNormalString() {
|
|
||||||
assertEquals("Hello, World!", service.normalize(" Hello, World! "));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue