spring-framework / org.springframework.test.web.servlet.result / FlashAttributeResultMatchersDsl

FlashAttributeResultMatchersDsl

class FlashAttributeResultMatchersDsl

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

Author
Sebastien Deleuze

Since
5.3

Functions

attribute

fun <T> attribute(name: String, matcher: Matcher<T>): Unit
fun attribute(name: String, value: Any?): Unit

attributeCount

fun attributeCount(count: Int): Unit

attributeExists

fun attributeExists(vararg name: String): Unit