updated StringCharArrayConversionTest class method names to follow BDD naming conventions
This commit is contained in:
parent
b6bb1e18d4
commit
ac84f1b303
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue