public class MockUnparsedNotificationCallback implements UnparsedNotificationCallback
Beta
Mock for the UnparsedNotificationCallback class.
Implements
UnparsedNotificationCallbackConstructors
MockUnparsedNotificationCallback()
public MockUnparsedNotificationCallback()
Methods
onNotification(StoredChannel storedChannel, UnparsedNotification notification)
public void onNotification(StoredChannel storedChannel, UnparsedNotification notification)
Handles a received unparsed notification.
Parameters | |
---|---|
Name | Description |
storedChannel |
StoredChannel |
notification |
UnparsedNotification |
Exceptions | |
---|---|
Type | Description |
IOException |
wasCalled()
public boolean wasCalled()
Returns whether this handler was called.
Returns | |
---|---|
Type | Description |
boolean |