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 {
|
public class StringCharArrayConversionTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void stringToCharArray() throws Exception {
|
public void givenString_whenConvertedToCharArray_ThenCorrect() throws Exception {
|
||||||
String beforeConvCharArr = "Text";
|
String beforeConvCharArr = "Text";
|
||||||
char[] afterConvCharArr = {'T','e','x','t'};
|
char[] afterConvCharArr = {'T','e','x','t'};
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ public class StringCharArrayConversionTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void charArrayToString() throws Exception {
|
public void givenCharArray_whenConvertedToString_ThenCorrect() throws Exception {
|
||||||
char[] beforeConvStr = {'T','e','x','t'};
|
char[] beforeConvStr = {'T','e','x','t'};
|
||||||
String afterConvStr = "Text";
|
String afterConvStr = "Text";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user