spring-framework / org.springframework.test.web.servlet.result / RequestResultMatchersDsl / attribute
attribute
fun <T> attribute(name: String, matcher: Matcher<T>): Unit
fun attribute(name: String, expectedValue: Any?): Unit
See Also
RequestResultMatchers.attribute