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

Open
forge-bot wants to merge 6 commits from forge/BAIS-MULTI-1783814676-attempt-1 into main
Showing only changes of commit 6a0178e3a7 - Show all commits

View file

@ -0,0 +1,29 @@
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() {
assertEquals("", service.normalize(null));
}
@Test
void testNormalizeWithEmptyString() {
assertEquals("", service.normalize(""));
}
@Test
void testNormalizeWithWhiteSpace() {
assertEquals("", service.normalize(" "));
}
@Test
void testNormalizeWithValidString() {
assertEquals("validString", service.normalize(" validString " ));
}
}