}
@Test
public void test() throws Exception {
//GIVEN
PagedOperationCollectionRepresentation repr = mock(PagedOperationCollectionRepresentation.class);
List<OperationRepresentation> opList = new LinkedList<OperationRepresentation>();
when(operationCollection.get()).thenReturn(repr);
when(repr.getOperations()).thenReturn(opList);
//WHEN
testObj.run();
//THEN