BAIS payments 멀티모듈 최소 구현 (2/2) (iss-cb58f86e71d9)
Some checks failed
ci / test (pull_request) Failing after 1m23s

This commit is contained in:
forge-bot 2026-07-11 22:35:21 +00:00
parent a4bc99c381
commit 67d244255c

View file

@ -0,0 +1,25 @@
package com.klaro.bais.payments;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class PaymentReferenceServiceTest {
private PaymentReferenceService paymentReferenceService = new PaymentReferenceService();
@Test
void testNormalizeWithNull() {
assertEquals("", paymentReferenceService.normalize(null));
}
@Test
void testNormalizeWithBlank() {
assertEquals("", paymentReferenceService.normalize(" "));
}
@Test
void testNormalizeWithValidString() {
String input = " test ";
assertEquals("test", paymentReferenceService.normalize(input));
}
}