@@ -50,15 +50,15 @@ public void testMatchesListWhenSizeIsCorrectUsingObjectElementType() {
50
50
}
51
51
52
52
public void testMatchesListWhenSizeIsCorrectUsingStringElementType () {
53
- Map <String , Integer > list = mapWithKeys ("a" , "b" );
54
- assertMatches ("correct size" , aMapWithSize (equalTo (2 )), list );
55
- assertDoesNotMatch ("incorrect size" , aMapWithSize (equalTo (3 )), list );
53
+ Map <String , Integer > map = mapWithKeys ("a" , "b" );
54
+ assertMatches ("correct size" , aMapWithSize (equalTo (2 )), map );
55
+ assertDoesNotMatch ("incorrect size" , aMapWithSize (equalTo (3 )), map );
56
56
}
57
57
58
58
public void testMatchesListWhenSizeIsCorrectUsingWildcardElementType () {
59
- Map <?, ?> list = mapWithKeys ("a" , "b" );
60
- assertMatches ("correct size" , aMapWithSize (equalTo (2 )), list );
61
- assertDoesNotMatch ("incorrect size" , aMapWithSize (equalTo (3 )), list );
59
+ Map <?, ?> map = mapWithKeys ("a" , "b" );
60
+ assertMatches ("correct size" , aMapWithSize (equalTo (2 )), map );
61
+ assertDoesNotMatch ("incorrect size" , aMapWithSize (equalTo (3 )), map );
62
62
}
63
63
64
64
public void testProvidesConvenientShortcutForHasSizeEqualTo () {
0 commit comments