Class CollectionSizeMatcher

  • All Implemented Interfaces:
    org.hamcrest.Matcher<Collection>, org.hamcrest.SelfDescribing

    public class CollectionSizeMatcher
    extends org.hamcrest.BaseMatcher<Collection>
    • Constructor Detail

      • CollectionSizeMatcher

        public CollectionSizeMatcher​(int size)
    • Method Detail

      • matches

        public boolean matches​(Object item)
      • describeTo

        public void describeTo​(org.hamcrest.Description description)