EasyMock.makeThreadSafe(mockConsumer1, true);
DatabusV2ConsumerRegistration consumerReg =
new DatabusV2ConsumerRegistration(sdccMockConsumer1, sources, null);
EasyMock.expect(mockConsumer1.onStartConsumption()).andAnswer(
new SleepingAnswer<ConsumerCallbackResult>(new LoggedAnswer<ConsumerCallbackResult>(
ConsumerCallbackResult.SUCCESS, LOG, Level.DEBUG, "startConsumption() called"),
150));
EasyMock.expect(mockConsumer1.onStartDataEventSequence(null)).andAnswer(
new SleepingAnswer<ConsumerCallbackResult>(new LoggedAnswer<ConsumerCallbackResult>(