Package net.morimekta.providence.testing
Class HasFieldValue<Message extends net.morimekta.providence.PMessage<Message,Field>,Field extends net.morimekta.providence.descriptor.PField>
- java.lang.Object
-
- org.hamcrest.BaseMatcher<Message>
-
- net.morimekta.providence.testing.HasFieldValue<Message,Field>
-
- 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
-
-
Constructor Summary
Constructors Constructor Description HasFieldValue(Field field)
HasFieldValue(java.lang.String path)
-
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)
-
-
-
Constructor Detail
-
HasFieldValue
public HasFieldValue(java.lang.String path)
-
HasFieldValue
public HasFieldValue(Field field)
-
-