Asserts that the number of entries in the given Map has the same size as the other Iterable. @param info contains information about the assertion. @param map the given Map. @param other the group to compare @throws AssertionError if the given Map is null. @th
(AssertionInfo info, Map<?, ?> map, Iterable<?> other)
| 139 | * @throws AssertionError if the number of entries in the given {@code Map} does not have the same size. |
| 140 | */ |
| 141 | public void assertHasSameSizeAs(AssertionInfo info, Map<?, ?> map, Iterable<?> other) { |
| 142 | assertNotNull(info, map); |
| 143 | hasSameSizeAsCheck(info, map, other, map.size()); |
| 144 | } |
| 145 | |
| 146 | /** |
| 147 | * Asserts that the number of entries in the given {@code Map} has the same size as the other array. |