@Test
public void considerNodeImportance2() {

    TestAUGBuilder pattern = buildAUG().withActionNodes("A", "B", "C")
            .withEdge("A", ORDER, "B").withEdge("A", ORDER, "C").withEdge("B", ORDER, "C");
    Node nodeC = pattern.getNode("C");
    TestAUGBuilder target = buildAUG().withActionNodes("A", "B").withEdge("A", ORDER, "B");
    Overlap violation = buildOverlap(pattern, target).withNodes("A", "B").withEdge("A", ORDER, "B").build();
    double weightWithEqualImportance = getWeight(violation, node -> 1);
    double weightWithMissingNodeDoubleImportance = getWeight(violation, node -> node == nodeC ? 2 : 1);
    assertThat(weightWithEqualImportance, is(lessThan(weightWithMissingNodeDoubleImportance)));
}