BAIS payments 멀티모듈 최소 구현 (1/2) (BAIS-MULTI-1783809014)
Some checks failed
ci / test (pull_request) Failing after 1m12s
Some checks failed
ci / test (pull_request) Failing after 1m12s
This commit is contained in:
parent
fc5d1963fd
commit
8094352a3d
1 changed files with 8 additions and 8 deletions
|
|
@ -1,24 +1,24 @@
|
||||||
package com.klaro.bais.payments;
|
package com.klaro.bais.payments;
|
||||||
|
|
||||||
import org.junit.jupiter.api.Test;
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
|
|
||||||
public class PaymentReferenceServiceTest {
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
|
class PaymentReferenceServiceTest {
|
||||||
private final PaymentReferenceService service = new PaymentReferenceService();
|
private final PaymentReferenceService service = new PaymentReferenceService();
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testNormalize_null() {
|
void testNormalize_NullInput() {
|
||||||
assertEquals("", service.normalize(null));
|
assertEquals("", service.normalize(null));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testNormalize_empty() {
|
void testNormalize_EmptyInput() {
|
||||||
assertEquals("", service.normalize(" "));
|
assertEquals("", service.normalize(" "));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testNormalize_normalString() {
|
void testNormalize_ValidInput() {
|
||||||
assertEquals("validString", service.normalize(" validString "));
|
assertEquals("valid input", service.normalize(" valid input " ));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue