BAIS payments 멀티모듈 최소 구현 #2

Open
forge-bot wants to merge 5 commits from forge/BAIS-MULTI-1783812074-attempt-2 into main
Showing only changes of commit 047f537745 - Show all commits

View file

@ -0,0 +1,27 @@
package com.klaro.bais.payments;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class PaymentReferenceServiceTest {
private final PaymentReferenceService service = new PaymentReferenceService();
@Test
void testNormalizeWithNull() {
String result = service.normalize(null);
assertEquals("", result);
}
@Test
void testNormalizeWithWhitespace() {
String result = service.normalize(" ");
assertEquals("");
}
@Test
void testNormalizeWithNormalString() {
String result = service.normalize(" Test String ");
assertEquals("Test String", result);
}
}