hasModifiers

public static Matcher<T> hasModifiers<T extends WithModifiers>(Array<Modifier> modifiers)(source)

A matcher matching an object if the object has at least the given modifiers.

Return

the matcher

Parameters

modifiers

the modifiers

<T>

the type of object to match