anyOf

fun <T> anyOf(first: Matcher<in T>, second: Matcher<in T>): AnyOf<T>

Creates a matcher that matches if the examined object matches ANY of the specified matchers. For example:

assertThat("myValue", anyOf(startsWith("foo"), containsString("Val")))