public class AcceptorPathMatcher extends Object
Constructor and Description |
---|
AcceptorPathMatcher() |
Modifier and Type | Method and Description |
---|---|
static boolean |
path(com.fasterxml.jackson.databind.JsonNode expectedResult,
com.fasterxml.jackson.databind.JsonNode finalResult)
Path matcher that checks if the final result
matches the expected result
|
static boolean |
pathAll(com.fasterxml.jackson.databind.JsonNode expectedResult,
com.fasterxml.jackson.databind.JsonNode finalResult)
PathAll matcher that checks if each element of the final
result matches the expected result
|
static boolean |
pathAny(com.fasterxml.jackson.databind.JsonNode expectedResult,
com.fasterxml.jackson.databind.JsonNode finalResult)
PathAny matcher that checks if any element of the final
result matches the expected result
|
public static boolean pathAll(com.fasterxml.jackson.databind.JsonNode expectedResult, com.fasterxml.jackson.databind.JsonNode finalResult)
expectedResult
- Expected result given by the waiter definitionfinalResult
- Final result of the resource got by the execution
of the JmesPath expression given by the waiter
definitionpublic static boolean pathAny(com.fasterxml.jackson.databind.JsonNode expectedResult, com.fasterxml.jackson.databind.JsonNode finalResult)
expectedResult
- Expected result given by the waiter definitionfinalResult
- Final result of the resource got by the execution
of the JmesPath expression given by the waiter
definitionpublic static boolean path(com.fasterxml.jackson.databind.JsonNode expectedResult, com.fasterxml.jackson.databind.JsonNode finalResult)
expectedResult
- Expected result given by the waiter definitionfinalResult
- Final result of the resource got by the execution
of the JmesPath expression given by the waiter
definitionCopyright © 2021. All rights reserved.