assertNotSubscribed method
Assert that channel is NOT in the subscribed channels list.
Throws AssertionError if channel is currently subscribed.
Implementation
void assertNotSubscribed(String channel) {
if (_driver._subscribedChannels.contains(channel)) {
throw AssertionError(
'Expected channel "$channel" to not be subscribed but it was found.',
);
}
}