Package uk.co.mruoc.rest.polling
Class ExpectedJsonValue
java.lang.Object
uk.co.mruoc.rest.polling.ExpectedJsonValue
- All Implemented Interfaces:
ExpectedValue
public class ExpectedJsonValue extends java.lang.Object implements ExpectedValue
-
Constructor Summary
Constructors Constructor Description ExpectedJsonValue(java.lang.String jsonPath, java.lang.String expectedValue) -
Method Summary
Modifier and Type Method Description booleanisPresent(java.lang.String json)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ExpectedJsonValue
public ExpectedJsonValue(java.lang.String jsonPath, java.lang.String expectedValue)
-
-
Method Details
-
isPresent
public boolean isPresent(java.lang.String json)- Specified by:
isPresentin interfaceExpectedValue
-