Search in sources :

Example 1 with BufferingServerOutput

use of io.zeebe.broker.transport.clientapi.BufferingServerOutput in project zeebe by zeebe-io.

the class RemoveTopicSubscriptionHandlerTest method setUp.

@Before
public void setUp() {
    MockitoAnnotations.initMocks(this);
    output = new BufferingServerOutput();
    futurePool = new FuturePool();
    when(subscriptionService.closeSubscriptionAsync(anyInt(), anyLong())).thenAnswer((invocation) -> futurePool.next());
}
Also used : BufferingServerOutput(io.zeebe.broker.transport.clientapi.BufferingServerOutput) Before(org.junit.Before)

Aggregations

BufferingServerOutput (io.zeebe.broker.transport.clientapi.BufferingServerOutput)1 Before (org.junit.Before)1