XpathResultMatchersDsl

class XpathResultMatchersDsl

Provide a XpathResultMatchers Kotlin DSL in order to be able to write idiomatic Kotlin code.

Author

Sebastien Deleuze

Since

5.3

Functions

booleanValue
Link copied to clipboard
fun booleanValue(value: Boolean)
doesNotExist
Link copied to clipboard
fun doesNotExist()
exists
Link copied to clipboard
fun exists()
node
Link copied to clipboard
fun node(matcher: Matcher<Node>)
nodeCount
Link copied to clipboard
fun nodeCount(expectedCount: Int)
fun nodeCount(matcher: Matcher<Int>)
nodeList
Link copied to clipboard
fun nodeList(matcher: Matcher<NodeList>)
number
Link copied to clipboard
fun number(expectedValue: Double)
fun number(matcher: Matcher<Double>)
string
Link copied to clipboard
fun string(expectedValue: String)
fun string(matcher: Matcher<String>)