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

Open
forge-bot wants to merge 5 commits from forge/BAIS-HALT-1783815860-attempt-1 into main
Showing only changes of commit ce83ae7cd2 - Show all commits

View file

@ -0,0 +1,22 @@
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class PaymentReferenceServiceTest {
private final PaymentReferenceService service = new PaymentReferenceService();
@Test
void testNormalize_NullInput() {
assertEquals("", service.normalize(null));
}
@Test
void testNormalize_EmptyString() {
assertEquals("", service.normalize(" "));
}
@Test
void testNormalize_ValidString() {
assertEquals("test", service.normalize(" test "));
}
}