BAIS payments 멀티모듈 최소 구현 (BAIS-MAVEN-1783816946)
Some checks failed
ci / test (pull_request) Failing after 2m46s
Some checks failed
ci / test (pull_request) Failing after 2m46s
This commit is contained in:
parent
fbd49aa17f
commit
99cd618123
1 changed files with 26 additions and 0 deletions
|
|
@ -0,0 +1,26 @@
|
|||
package com.klaro.bais.payments;
|
||||
|
||||
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() {
|
||||
String result = service.normalize(null);
|
||||
assertEquals("", result);
|
||||
}
|
||||
|
||||
@Test
|
||||
void testNormalize_emptyInput() {
|
||||
String result = service.normalize(" ");
|
||||
assertEquals("", result);
|
||||
}
|
||||
|
||||
@Test
|
||||
void testNormalize_validInput() {
|
||||
String result = service.normalize(" valid input ");
|
||||
assertEquals("valid input", result);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue