@Test
public void shouldReturnErrorWhenInEIsNull() {

    assertThrows(NullPointerException.class, () -> graphTemplate.getTraversalVertex().inE((String) null)
            .<Person, Book>stream()
            .collect(toList()));
}