@Test
public void considersSynchronization() {

    APIUsagePattern pattern = somePattern(TestAUGBuilder.buildAUG()
            .withDataNode("Object").withActionNodes("m()")
            .withEdge("Object", SYNCHRONIZE, "m()"));
    Set<APIUsagePattern> patterns = new MinPatternActionsModel(() -> asSet(pattern), 2).getPatterns();
    assertThat(patterns, is(not(empty())));
}