@Test
public void excludesEdgeToMissingNode() {

    TestAUGBuilder pattern = buildAUG().withActionNodes("A", "B").withEdge("A", ORDER, "B");
    TestAUGBuilder target = buildAUG().withActionNode("A");
    Overlap violation = buildOverlap(pattern, target).withNode("A").build();
    double weight = getWeight(violation, node -> 1);
    assertThat(weight, is(0.5));
}