Class MockUnparsedNotificationCallback (2.4.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
Name Description
storedChannel StoredChannel
notification UnparsedNotification
Exceptions
Type Description
IOException

wasCalled()

public boolean wasCalled()

Returns whether this handler was called.

Returns
Type Description
boolean