From ac84f1b303a78bd1550cb6976dc1846baf51aefe Mon Sep 17 00:00:00 2001 From: Stephen Braimah Date: Tue, 3 Jan 2017 14:53:51 +0000 Subject: [PATCH] updated StringCharArrayConversionTest class method names to follow BDD naming conventions --- .../java/conversion/StringCharArrayConversionTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core-java/src/test/java/com/baeldung/java/conversion/StringCharArrayConversionTest.java b/core-java/src/test/java/com/baeldung/java/conversion/StringCharArrayConversionTest.java index 9376b45d63..c9eff5e7e2 100644 --- a/core-java/src/test/java/com/baeldung/java/conversion/StringCharArrayConversionTest.java +++ b/core-java/src/test/java/com/baeldung/java/conversion/StringCharArrayConversionTest.java @@ -8,7 +8,7 @@ import static org.junit.Assert.assertEquals; public class StringCharArrayConversionTest { @Test - public void stringToCharArray() throws Exception { + public void givenString_whenConvertedToCharArray_ThenCorrect() throws Exception { String beforeConvCharArr = "Text"; char[] afterConvCharArr = {'T','e','x','t'}; @@ -16,7 +16,7 @@ public class StringCharArrayConversionTest { } @Test - public void charArrayToString() throws Exception { + public void givenCharArray_whenConvertedToString_ThenCorrect() throws Exception { char[] beforeConvStr = {'T','e','x','t'}; String afterConvStr = "Text";