Class MockUnparsedNotificationCallback (2.0.1)

public class MockUnparsedNotificationCallback implements UnparsedNotificationCallback

Beta
Mock for the UnparsedNotificationCallback class.

Inheritance

java.lang.Object > MockUnparsedNotificationCallback

Constructors

MockUnparsedNotificationCallback()

public MockUnparsedNotificationCallback()

Methods

onNotification(StoredChannel storedChannel, UnparsedNotification notification)

public void onNotification(StoredChannel storedChannel, UnparsedNotification notification)

Handles a received unparsed notification.

Parameters
NameDescription
storedChannelStoredChannel
notificationUnparsedNotification
Exceptions
TypeDescription
IOException

wasCalled()

public boolean wasCalled()

Returns whether this handler was called.

Returns
TypeDescription
boolean