class JsonPathResultMatchersDsl
Provide a JsonPathResultMatchers Kotlin DSL in order to be able to write idiomatic Kotlin code.
Author
Sebastien Deleuze
Since
5.3
doesNotExist |
fun doesNotExist(): Unit |
doesNotHaveJsonPath |
fun doesNotHaveJsonPath(): Unit |
exists |
fun exists(): Unit |
hasJsonPath |
fun hasJsonPath(): Unit |
isArray |
fun isArray(): Unit |
isBoolean |
fun isBoolean(): Unit |
isEmpty |
fun isEmpty(): Unit |
isMap |
fun isMap(): Unit |
isNotEmpty |
fun isNotEmpty(): Unit |
isNumber |
fun isNumber(): Unit |
isString |
fun isString(): Unit |
prefix |
fun prefix(prefix: String): Unit |
value |
fun <T> value(matcher: Matcher<T>): Unit fun value(expectedValue: Any?): Unit |