beAssignableToAllOf

open infix fun beAssignableToAllOf(superType: String): ClassesRuleBuilder

Asserts that selected classes are assignable to specified supertype.

Parameters

superType

The supertype that must be matched.


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

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

Parameters

superTypes

The list of supertypes that must all be matched.


open fun beAssignableToAllOf(vararg superTypes: String): ClassesRuleBuilder

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

Parameters

superTypes

The vararg list of supertypes that must all be matched.