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

Open
forge-bot wants to merge 9 commits from forge/BAIS-MULTI-1783809014-attempt-1 into main
Showing only changes of commit 8094352a3d - Show all commits

View file

@ -1,24 +1,24 @@
package com.klaro.bais.payments; package com.klaro.bais.payments;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertEquals;
public class PaymentReferenceServiceTest { import org.junit.jupiter.api.Test;
class PaymentReferenceServiceTest {
private final PaymentReferenceService service = new PaymentReferenceService(); private final PaymentReferenceService service = new PaymentReferenceService();
@Test @Test
public void testNormalize_null() { void testNormalize_NullInput() {
assertEquals("", service.normalize(null)); assertEquals("", service.normalize(null));
} }
@Test @Test
public void testNormalize_empty() { void testNormalize_EmptyInput() {
assertEquals("", service.normalize(" ")); assertEquals("", service.normalize(" "));
} }
@Test @Test
public void testNormalize_normalString() { void testNormalize_ValidInput() {
assertEquals("validString", service.normalize(" validString ")); assertEquals("valid input", service.normalize(" valid input " ));
} }
} }