whenCaller
Checks what caller may do with the aggregate.
fun whenCaller(subject: String? = null, claims: Map<String, List<String>> = emptyMap(), roles: List<String> = emptyList(), block: AccessExpectations.() -> Unit)
Checks what a caller subject may do, holding claims, with roles (Caller.roles).