Class MockUnparsedNotificationCallback (2.6.0)

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
Name Description
storedChannel StoredChannel
notification UnparsedNotification
Exceptions
Type Description
IOException

wasCalled()

public boolean wasCalled()

Returns whether this handler was called.

Returns
Type Description
boolean