BAIS payments 멀티모듈 최소 구현 (BAIS-CI-1783819034)
Some checks failed
ci / test (pull_request) Failing after 1m11s

This commit is contained in:
forge-bot 2026-07-12 01:20:38 +00:00
parent cdbe543dee
commit fa03e8eb99

View file

@ -0,0 +1,22 @@
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test;
class PaymentReferenceServiceTest {
private final PaymentReferenceService service = new PaymentReferenceService();
@Test
void testNormalize_NullString() {
assertEquals(""); // null should be normalized to empty string
}
@Test
void testNormalize_EmptyString() {
assertEquals(""); // empty string should remain empty
}
@Test
void testNormalize_ValidString() {
String input = " some text ";
assertEquals("some text", service.normalize(input)); // should trim spaces
}
}