SingleActionMediaControlVerifier

constructor(objectFactory: (MediaControlContext) -> Control, activeAction: Action, verifyVisibility: Boolean = true)

Parameters

objectFactory

A lambda to generate SUT objects.

activeAction

The Action that is sent by the SUT when launched.

verifyVisibility

If false, the control is assumed to always be visible and its visibility does not get tested.