Compare commits
No commits in common. "eef89c063545d9e006f9995f1532e241c92bc678" and "931066c50e0ee07635ad288b3270c98c44ed6d3e" have entirely different histories.
eef89c0635
...
931066c50e
5 changed files with 0 additions and 87 deletions
|
|
@ -1,3 +0,0 @@
|
||||||
# BAIS-CTX-1783821073-attempt-4
|
|
||||||
|
|
||||||
Forge 이슈 작업 브랜치 `forge/BAIS-CTX-1783821073-attempt-4`.
|
|
||||||
22
pom.xml
22
pom.xml
|
|
@ -1,22 +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>
|
|
||||||
<groupId>org.springframework.boot</groupId>
|
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
|
||||||
<version>3.5.14</version>
|
|
||||||
</parent>
|
|
||||||
|
|
||||||
<groupId>com.klaro.bais</groupId>
|
|
||||||
<artifactId>bais-platform</artifactId>
|
|
||||||
<version>1.0-SNAPSHOT</version>
|
|
||||||
<packaging>pom</packaging>
|
|
||||||
|
|
||||||
<modules>
|
|
||||||
<module>services/payments</module>
|
|
||||||
</modules>
|
|
||||||
|
|
||||||
</project>
|
|
||||||
|
|
@ -1,29 +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>
|
|
||||||
<groupId>com.klaro.bais</groupId>
|
|
||||||
<artifactId>bais-platform</artifactId>
|
|
||||||
<version>1.0-SNAPSHOT</version>
|
|
||||||
<relativePath>../../pom.xml</relativePath>
|
|
||||||
</parent>
|
|
||||||
|
|
||||||
<artifactId>payments</artifactId>
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.commons</groupId>
|
|
||||||
<artifactId>commons-lang3</artifactId>
|
|
||||||
<version>3.18.0</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.springframework.boot</groupId>
|
|
||||||
<artifactId>spring-boot-starter-test</artifactId>
|
|
||||||
<version>3.5.14</version>
|
|
||||||
<scope>test</scope>
|
|
||||||
</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,24 +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 testNormalizeNull() {
|
|
||||||
assertEquals("", service.normalize(null));
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
void testNormalizeEmpty() {
|
|
||||||
assertEquals("", service.normalize(" "));
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
void testNormalizeNormalString() {
|
|
||||||
assertEquals("test", service.normalize(" test "));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue