BAIS payments 멀티모듈 최소 구현 (BAIS-CI-1783819034)
Some checks failed
ci / test (pull_request) Failing after 1m10s
Some checks failed
ci / test (pull_request) Failing after 1m10s
This commit is contained in:
parent
4447701198
commit
824885bef3
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 {
|
||||||
|
|
||||||
|
PaymentReferenceService service = new PaymentReferenceService();
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void testNormalize_null() {
|
||||||
|
assertEquals("", service.normalize(null));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void testNormalize_empty() {
|
||||||
|
assertEquals("", service.normalize(""));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void testNormalize_normalString() {
|
||||||
|
assertEquals("test", service.normalize(" test "));
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue