From 5ef3b149f1e44e2a49914f8b3429674b007774b9 Mon Sep 17 00:00:00 2001 From: Abhinab Kanrar Date: Mon, 13 Feb 2017 23:49:58 +0530 Subject: [PATCH] Update JoinerSplitterTest.java (#1172) --- .../test/java/com/baeldung/string/JoinerSplitterTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core-java/src/test/java/com/baeldung/string/JoinerSplitterTest.java b/core-java/src/test/java/com/baeldung/string/JoinerSplitterTest.java index 303296cbc6..9ccff40558 100644 --- a/core-java/src/test/java/com/baeldung/string/JoinerSplitterTest.java +++ b/core-java/src/test/java/com/baeldung/string/JoinerSplitterTest.java @@ -12,7 +12,7 @@ import com.baeldung.string.JoinerSplitter; public class JoinerSplitterTest { @Test - public void provided_array_convert_to_stream_and_convert_to_string() { + public void givenArray_transformedToStream_convertToString() { String[] programming_languages = {"java", "python", "nodejs", "ruby"}; @@ -23,7 +23,7 @@ public class JoinerSplitterTest { } @Test - public void provided_array_convert_to_stream_and_convert_to_prefixPostfix() { + public void givenArray_transformedToStream_convertToPrefixPostfixString() { String[] programming_languages = {"java", "python", "nodejs", "ruby"}; String expectation = "[java,python,nodejs,ruby]"; @@ -33,7 +33,7 @@ public class JoinerSplitterTest { } @Test - public void provided_string_convert_to_stream_and_convert_to_listOfString() { + public void givenString_transformedToStream_convertToList() { String programming_languages = "java,python,nodejs,ruby"; List expectation = new ArrayList(); @@ -48,7 +48,7 @@ public class JoinerSplitterTest { } @Test - public void provided_string_convert_to_stream_and_convert_to_listOfChar() { + public void givenString_transformedToStream_convertToListOfChar() { String programming_languages = "java,python,nodejs,ruby"; List expectation = new ArrayList();