Class HasFieldValue<Message extends net.morimekta.providence.PMessage<Message,Field>,Field extends net.morimekta.providence.descriptor.PField>

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

    public class HasFieldValue<Message extends net.morimekta.providence.PMessage<Message,Field>,Field extends net.morimekta.providence.descriptor.PField>
    extends org.hamcrest.BaseMatcher<Message>
    Since:
    21.01.16.
    Author:
    Stein Eldar Johnsen
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void describeMismatch​(java.lang.Object o, org.hamcrest.Description mismatchDescription)  
      void describeTo​(org.hamcrest.Description description)  
      boolean matches​(java.lang.Object o)  
      • Methods inherited from class org.hamcrest.BaseMatcher

        _dont_implement_Matcher___instead_extend_BaseMatcher_, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • HasFieldValue

        public HasFieldValue​(java.lang.String path)
      • HasFieldValue

        public HasFieldValue​(Field field)
    • Method Detail

      • matches

        public boolean matches​(java.lang.Object o)
      • describeTo

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

        public void describeMismatch​(java.lang.Object o,
                                     org.hamcrest.Description mismatchDescription)
        Specified by:
        describeMismatch in interface org.hamcrest.Matcher<Message extends net.morimekta.providence.PMessage<Message,Field>>
        Overrides:
        describeMismatch in class org.hamcrest.BaseMatcher<Message extends net.morimekta.providence.PMessage<Message,Field>>