ModelResultMatchersDsl

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

Author

Sebastien Deleuze

Since

5.3

Functions

Link copied to clipboard
fun attribute(name: String, value: Any?)
fun <T> attribute(name: String, matcher: Matcher<T>)
Link copied to clipboard
fun attributeDoesNotExist(vararg name: String)
Link copied to clipboard
fun attributeErrorCount(name: String, expectedCount: Int)
Link copied to clipboard
fun attributeExists(vararg name: String)
Link copied to clipboard
fun attributeHasErrors(vararg name: String)
Link copied to clipboard
fun attributeHasFieldErrorCode(name: String, fieldName: String, code: String)
fun attributeHasFieldErrorCode(name: String, fieldName: String, matcher: Matcher<String>)
Link copied to clipboard
fun attributeHasFieldErrors(name: String, vararg fieldNames: String)
Link copied to clipboard
fun attributeHasNoErrors(vararg name: String)
Link copied to clipboard
fun errorCount(expectedCount: Int)
Link copied to clipboard
fun hasErrors()
Link copied to clipboard
Link copied to clipboard
fun size(size: Int)