@Test
void shouldCallExcludeTypeMethod() {

    RegexpFilter filter = new ExcludeType(PATTERN);
    IssueFilterBuilder filterBuilder = mock(IssueFilterBuilder.class);
    filter.apply(filterBuilder);
    
    verify(filterBuilder).setExcludeTypeFilter(PATTERN);
}