Class PropertyMatcher<T>

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

    public class PropertyMatcher<T>
    extends org.hamcrest.TypeSafeDiagnosingMatcher<T>
    • Constructor Detail

      • PropertyMatcher

        public PropertyMatcher​(List<org.hamcrest.Matcher<T>> expectedPropertyMatchers)
    • Method Detail

      • matchesSafely

        public boolean matchesSafely​(T item,
                                     org.hamcrest.Description mismatchDescription)
        Specified by:
        matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<T>
      • describeTo

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