beAssignableToAnyOf

open infix fun beAssignableToAnyOf(superType: String): ClassesRuleBuilder

Asserts that selected classes are assignable to specified supertype.

Parameters

superType

The supertype that must be matched.


open infix fun beAssignableToAnyOf(superTypes: List<String>): ClassesRuleBuilder

Asserts that selected classes are assignable to any of the specified supertypes.

Parameters

superTypes

The list of supertypes, at least one of which must be matched.


open fun beAssignableToAnyOf(vararg superTypes: String): ClassesRuleBuilder

Asserts that selected classes are assignable to any of the specified supertypes.

Parameters

superTypes

The vararg list of supertypes, at least one of which must be matched.