/**
  * @see DATAGRAPH-707
  * @throws Exception
  */
 @Test
 public void testFindAllByTypeCollection() throws Exception {
   assertEquals(
       "MATCH (n)-[r:`ORBITS`]->() WHERE ID(r) IN { ids } WITH n MATCH p=(n)-[*0..1]-(m) RETURN p",
       query.findAllByType("ORBITS", Arrays.asList(1L, 2L, 3L), 1).getStatement());
 }