ModelResultMatchersDsl

class ModelResultMatchersDsl

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

Author

Sebastien Deleuze

Since

5.3

Functions

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