@Test
void shouldCallExcludeCategoryMethod() {

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