@Test
void shouldCallExcludeMessageMethod() {

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