@Test
public void filtersPatternWithFewerActions() {

    APIUsagePattern pattern = somePattern(TestAUGBuilder.buildAUG().withActionNode("m()"));
    Set<APIUsagePattern> patterns = new MinPatternActionsModel(() -> asSet(pattern), 2).getPatterns();
    assertThat(patterns, is(empty()));
}