attribute

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

See also