BAIS payments 멀티모듈 최소 구현 (BAIS-HALT-1783815860)
Some checks failed
ci / test (pull_request) Failing after 1m11s
Some checks failed
ci / test (pull_request) Failing after 1m11s
This commit is contained in:
parent
16b8b7374e
commit
24be074c09
1 changed files with 22 additions and 0 deletions
|
|
@ -0,0 +1,22 @@
|
||||||
|
import org.junit.jupiter.api.Test;
|
||||||
|
import static org.junit.jupiter.api.Assertions.*;
|
||||||
|
|
||||||
|
class PaymentReferenceServiceTest {
|
||||||
|
|
||||||
|
private final PaymentReferenceService service = new PaymentReferenceService();
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void testNormalize_NullInput() {
|
||||||
|
assertEquals("", service.normalize(null));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void testNormalize_EmptyInput() {
|
||||||
|
assertEquals("", service.normalize(" "));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void testNormalize_ValidInput() {
|
||||||
|
assertEquals("valid string", service.normalize(" valid string "));
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue