hasEffect

Checks if any effect transmission of the specified type exists in the captured stream.

Return

True if at least one effect transmission of type T exists, false otherwise

Example:

assertTrue(hasEffect<NavigationEffect>())
assertFalse(hasEffect<ErrorEffect>())

Parameters

T

The type of effect to check for