@Test
public void testExecuteQuery() throws SQLException {

    // GIVEN
    final String query = "some query";
    // WHEN
    operation.executeQuery(connection, query);
    // THEN
    final InOrder order = inOrder(connection, ps, rs);
    order.verify(connection).prepareStatement(eq(query));
    order.verify(ps).executeQuery();
    order.verify(rs).close();
    order.verify(ps).close();
}