@Test
public void testgetPredecessorsWhichPredecessorsHasNoPredecessors() {

    TNodeTemplate nt1 = topologyTemplate.getNodeTemplateOrRelationshipTemplate()
        .stream()
        .filter(x -> x instanceof TNodeTemplate)
        .map(TNodeTemplate.class::cast)
        .filter(nt -> nt.getId().equals("NT1_3"))
        .findAny()
        .get();
    assertEquals(nt1.getId(), splitting.getNodeTemplatesWhichPredecessorsHasNoPredecessors(topologyTemplate).get(0).getId());
}