Class HasEqualValues.FieldMatcher

    • Field Detail

      • field

        private final java.lang.reflect.Field field
      • matcher

        private final Matcher<java.lang.Object> matcher
    • Constructor Detail

      • FieldMatcher

        public FieldMatcher​(java.lang.reflect.Field field,
                            java.lang.Object expectedObject)
    • Method Detail

      • describeTo

        public void describeTo​(Description description)
        Description copied from interface: SelfDescribing
        Generates a description of the object. The description may be part of a a description of a larger object of which this is just a component, so it should be worded appropriately.
        Parameters:
        description - The description to be built or appended to.