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

Open
forge-bot wants to merge 5 commits from forge/BAIS-CTX-1783821073-attempt-1 into main
Showing only changes of commit 46fe1f3c0e - 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 paymentReferenceService = new PaymentReferenceService();
@Test
void testNormalize_NullInput() {
assertEquals("", paymentReferenceService.normalize(null));
}
@Test
void testNormalize_EmptyInput() {
assertEquals("", paymentReferenceService.normalize(""));
}
@Test
void testNormalize_WhitespaceInput() {
assertEquals("", paymentReferenceService.normalize(" "));
}
@Test
void testNormalize_RegularInput() {
assertEquals("Hello", paymentReferenceService.normalize(" Hello "));
}
}