@Test
public void testOperationExecution() throws SQLException {

    // GIVEN
    final Graph<Node, Edge> graph = new DefaultDirectedGraph<>(new ClassBasedEdgeFactory<>(Edge.class));
    final CompositeOperation operation = new CompositeOperation(operation1, operation2, operation3);
    // WHEN
    operation.execute(connection, graph);
    // THEN
    final InOrder order = inOrder(operation1, operation2, operation3);
    order.verify(operation1).execute(eq(connection), eq(graph));
    order.verify(operation2).execute(eq(connection), eq(graph));
    order.verify(operation3).execute(eq(connection), eq(graph));
}