Update JoinerSplitterTest.java (#1172)

This commit is contained in:
Abhinab Kanrar 2017-02-13 23:49:58 +05:30 committed by maibin
parent 2f598e234c
commit 5ef3b149f1
1 changed files with 4 additions and 4 deletions

View File

@ -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<String> expectation = new ArrayList<String>();
@ -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<Character> expectation = new ArrayList<Character>();