Class
caplin.services.testing

SubscriptionStub

A SubscriptionStub stubs out a caplin.services.messaging.Subscription instance for the purpose of components which rely on streamed data.

This class uses emitr.

Constructor Summary

Attributes Name and Description
caplin.services.testing.SubscriptionStub(caplin.services.messaging.SubscriptionListener listener, caplin.services.testing.RecordStub record)

Method Summary

Attributes Name and Description
void dispose()

void getSubject()

void isPaused()

void pause()

void resume()

Constructor Detail

caplin.services.testing.SubscriptionStub(caplin.services.messaging.SubscriptionListener listener, caplin.services.testing.RecordStub record)

Parameters
caplin.services.messaging.SubscriptionListener listener Listener to this subscription
caplin.services.testing.RecordStub record

Method Detail

void dispose()

void getSubject()

void isPaused()

void pause()

void resume()