@Test
public void considersCatch() {

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