@Test
public void testOperationExecution() {

    // GIVEN
    final CompositeOperation operation = new CompositeOperation(operation1, operation2, operation3);
    final Document data = new Document();
    // WHEN
    operation.execute(connection, data);
    // THEN
    final InOrder order = inOrder(operation1, operation2, operation3);
    order.verify(operation1).execute(eq(connection), eq(data));
    order.verify(operation2).execute(eq(connection), eq(data));
    order.verify(operation3).execute(eq(connection), eq(data));
}