class XpathResultMatchersDsl
Provide a XpathResultMatchers Kotlin DSL in order to be able to write idiomatic Kotlin code.
Author
Sebastien Deleuze
Since
5.3
booleanValue |
fun booleanValue(value: Boolean): Unit |
doesNotExist |
fun doesNotExist(): Unit |
exists |
fun exists(): Unit |
node |
fun node(matcher: Matcher<Node>): Unit |
nodeCount |
fun nodeCount(matcher: Matcher<Int>): Unit fun nodeCount(expectedCount: Int): Unit |
nodeList |
fun nodeList(matcher: Matcher<NodeList>): Unit |
number |
fun number(matcher: Matcher<Double>): Unit fun number(expectedValue: Double): Unit |
string |
fun string(matcher: Matcher<String>): Unit fun string(expectedValue: String): Unit |