Class MapWithSizeMatcher<K,V>
- All Implemented Interfaces:
org.hamcrest.Matcher<Map<? extends K,
,? extends V>> org.hamcrest.SelfDescribing
public class MapWithSizeMatcher<K,V>
extends org.hamcrest.FeatureMatcher<Map<? extends K,? extends V>,Integer>
Copied from Hamcrest sources, as this matcher is not present in Hamcrest 1.3 and 1.4 has not been released yet (also,
1.3 is the version defined in Bamboo parent pom in Atlassian platform).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Integer
featureValueOf
(Map<? extends K, ? extends V> actual) Methods inherited from class org.hamcrest.FeatureMatcher
describeTo, matchesSafely
Methods inherited from class org.hamcrest.TypeSafeDiagnosingMatcher
describeMismatch, matches
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString