BAIS payments 멀티모듈 최소 구현 (BAIS-CI-1783819034)
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
a7fb81379c
commit
20b03fcbfa
1 changed files with 26 additions and 0 deletions
|
|
@ -0,0 +1,26 @@
|
|||
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_WhitespaceInput() {
|
||||
assertEquals("", service.normalize(" "));
|
||||
}
|
||||
|
||||
@Test
|
||||
void testNormalize_RegularStringInput() {
|
||||
assertEquals("Hello, World!", service.normalize(" Hello, World! "));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue