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

Open
forge-bot wants to merge 5 commits from forge/BAIS-MULTI-1783814676-attempt-3 into main
Showing only changes of commit f47e5820c6 - Show all commits

View file

@ -0,0 +1,28 @@
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 testNormalize_NullInput() {
assertEquals("", service.normalize(null));
}
@Test
void testNormalize_EmptyInput() {
assertEquals("", service.normalize(""));
}
@Test
void testNormalize_WhitespaceInput() {
assertEquals("", service.normalize(" "));
}
@Test
void testNormalize_ValidInput() {
assertEquals("valid string", service.normalize(" valid string "));
}
}