@Test
public void testAddOperationList() {
VdcOperation<ActionType, ActionParametersBase> testOperation1 =
new VdcOperation<>(ActionType.AddNetworkOnProvider, new ActionParametersBase(), null);
QueryParametersBase testParameters = new QueryParametersBase().withRefresh();
VdcOperation<QueryType, QueryParametersBase> testOperation2 = new VdcOperation<>(QueryType.Search, testParameters, null);
VdcOperation<QueryType, QueryParametersBase> testOperation3 = new VdcOperation<>(QueryType.Search, testParameters, null);
List<VdcOperation<?, ?>> operationList = new ArrayList<>();
operationList.add(testOperation1);
operationList.add(testOperation2);
operationList.add(testOperation3);
testManager.addOperationList(operationList);
verify(mockOperationProcessor, times(3)).processOperation(testManager);
verify(mockEventBus, times(2)).fireEvent(any());
assertEquals(testManager.pollOperation(), testOperation1, "First poll should be action");
assertEquals(testManager.pollOperation(), testOperation2, "Second poll should be query");
assertNull(testManager.pollOperation(), "Third poll should be null");
}