BAIS payments 멀티모듈 최소 구현 (BAIS-MAVEN-1783816946)
Some checks failed
ci / test (pull_request) Failing after 1m12s

This commit is contained in:
forge-bot 2026-07-12 01:03:06 +00:00
parent 697235afe7
commit 44876bbf0b

View file

@ -0,0 +1,24 @@
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(""); // normalize(null) should return an empty string
}
@Test
void testNormalizeWithWhitespace() {
assertEquals(""); // normalize(" ") should return an empty string
}
@Test
void testNormalizeWithNormalString() {
assertEquals("test", service.normalize(" test ")); // Should trim and return "test"
}
}