BAIS payments 멀티모듈 최소 구현 (BAIS-HALT-1783815860)
Some checks failed
ci / test (pull_request) Failing after 1m9s
Some checks failed
ci / test (pull_request) Failing after 1m9s
This commit is contained in:
parent
f6dd324ac8
commit
ce83ae7cd2
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_EmptyString() {
|
||||
assertEquals("", service.normalize(" "));
|
||||
}
|
||||
|
||||
@Test
|
||||
void testNormalize_ValidString() {
|
||||
assertEquals("test", service.normalize(" test "));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue