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

Open
forge-bot wants to merge 5 commits from forge/BAIS-MAVEN-1783816946-attempt-2 into main
Showing only changes of commit 99cd618123 - Show all commits

View file

@ -0,0 +1,26 @@
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() {
String result = service.normalize(null);
assertEquals("", result);
}
@Test
void testNormalize_emptyInput() {
String result = service.normalize(" ");
assertEquals("", result);
}
@Test
void testNormalize_validInput() {
String result = service.normalize(" valid input ");
assertEquals("valid input", result);
}
}