|
@@ -109,13 +109,13 @@ public class TestStringUtilities {
|
109
|
109
|
public void getTheMiddleChar1(){
|
110
|
110
|
// : Given
|
111
|
111
|
String input = "Zipcode";
|
112
|
|
- char expected = 'c';
|
|
112
|
+ Character expected = 'c';
|
113
|
113
|
|
114
|
114
|
// : When
|
115
|
|
- char actual = StringUtilities.getMiddleCharacter(input);
|
|
115
|
+ Character actual = StringUtilities.getMiddleCharacter(input);
|
116
|
116
|
|
117
|
117
|
// : Then
|
118
|
|
- Assert.assertEquals(expected, actual);
|
|
118
|
+ Assert.assertEquals(expected.toString(), actual.toString());
|
119
|
119
|
}
|
120
|
120
|
|
121
|
121
|
|