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";