hasData
Checks if any data transmission of the specified type exists in the captured stream.
Return
True if at least one data transmission of type T exists, false otherwise
Example:
assertTrue(hasData<UserData.LoggedIn>())
assertFalse(hasData<UserData.LoginFailed>())
Content copied to clipboard
Parameters
T
The type of data to check for