anyStatus

fun anyStatus(first: Status, vararg rest: Status): StatusMatcher(source)

Matches any of the supplied statuses.

This is useful when multiple concrete status codes share the same response shape.


Deprecated (with error)

Cannot call anyStatus() without arguments

Replace with

anyStatus(/*at least 1 argument*/)

Matches any of the supplied statuses.

This is useful when multiple concrete status codes share the same response shape.