Class SubscribeOperationTest<O extends SubscribeOperation>
- java.lang.Object
-
- com.azure.spring.integration.test.support.SubscribeOperationTest<O>
-
public abstract class SubscribeOperationTest<O extends SubscribeOperation> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected String
destination
protected O
subscribeOperation
-
Constructor Summary
Constructors Constructor Description SubscribeOperationTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description O
getSubscribeOperation()
void
setSubscribeOperation(O subscribeOperation)
void
testSubscribeAndUnsubscribe()
void
testSubscribeTwice()
void
testUnsubscribeNotSubscribed()
protected abstract void
verifySubscriberCreatorCalled()
protected abstract void
verifySubscriberCreatorNotCalled()
protected abstract void
verifySubscriberRegistered(int times)
protected abstract void
verifySubscriberUnregistered(int times)
-
-
-
Field Detail
-
subscribeOperation
protected O extends SubscribeOperation subscribeOperation
-
destination
protected String destination
-
-
Method Detail
-
testSubscribeAndUnsubscribe
@Test public void testSubscribeAndUnsubscribe()
-
testSubscribeTwice
@Test public void testSubscribeTwice()
-
testUnsubscribeNotSubscribed
@Test public void testUnsubscribeNotSubscribed()
-
verifySubscriberCreatorCalled
protected abstract void verifySubscriberCreatorCalled()
-
verifySubscriberCreatorNotCalled
protected abstract void verifySubscriberCreatorNotCalled()
-
verifySubscriberRegistered
protected abstract void verifySubscriberRegistered(int times)
-
verifySubscriberUnregistered
protected abstract void verifySubscriberUnregistered(int times)
-
getSubscribeOperation
public O getSubscribeOperation()
-
setSubscribeOperation
public void setSubscribeOperation(O subscribeOperation)
-
-