From 75374636697b2566dc2856c0b8373c4a80183537 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sat, 11 Jul 2026 23:24:46 +0000 Subject: [PATCH] =?UTF-8?q?BAIS=20payments=20=EB=A9=80=ED=8B=B0=EB=AA=A8?= =?UTF-8?q?=EB=93=88=20=EC=B5=9C=EC=86=8C=20=EA=B5=AC=ED=98=84=20(1/2)=20(?= =?UTF-8?q?BAIS-MULTI-1783812074)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../payments/PaymentReferenceServiceTest.java | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java b/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java index 77624c9..6c139a6 100644 --- a/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java +++ b/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java @@ -1,28 +1,25 @@ package com.klaro.bais.payments; import org.junit.jupiter.api.Test; -import static org.junit.jupiter.api.Assertions.*; + +import static org.junit.jupiter.api.Assertions.assertEquals; class PaymentReferenceServiceTest { + private final PaymentReferenceService service = new PaymentReferenceService(); @Test - void testNormalize_NullInput() { + void testNormalizeWithNull() { assertEquals("", service.normalize(null)); } @Test - void testNormalize_EmptyInput() { + void testNormalizeWithEmptyString() { assertEquals("", service.normalize("")); } @Test - void testNormalize_WhitespaceInput() { - assertEquals("", service.normalize(" ")); + void testNormalizeWithNormalString() { + assertEquals("Hello, World!", service.normalize(" Hello, World! ")); } - - @Test - void testNormalize_ValidInput() { - assertEquals("valid", service.normalize(" valid ")); - } -} \ No newline at end of file +}