public interface Assert
| Modifier and Type | Method and Description |
|---|---|
void |
assertHeader(String key,
String value)
Assert that any request to this method/path contained this header
|
void |
assertInvokedTimes(int i)
assert that this instance of method/path was invoked x times
|
void |
verifyAll()
verify that all Expectations were fulfilled at least once.
|
void assertHeader(String key, String value)
key - the expected header keyvalue - the expected header valueUnirestAssertion - when header does not existvoid assertInvokedTimes(int i)
i - the number of times invoked.UnirestAssertion - when the invocation count is not xvoid verifyAll()
UnirestAssertion - when all expectations have not been fulfilledCopyright © 2021. All rights reserved.