    @Test
    public void testAcceptWithEmptyLineSeparator() {

        String fileName = "test";
        int lineNum = 10;
        int beginB = 5;
        int endB = 9;

        LocalizedMessage message = PowerMockito.mock(LocalizedMessage.class);
        PowerMockito.doReturn(EmptyLineSeparatorCheck.class.getName()).when(message).getSourceName();

        AuditEvent event = PowerMockito.mock(AuditEvent.class);
        PowerMockito.doReturn(fileName).when(event).getFileName();
        PowerMockito.doReturn(lineNum).when(event).getLine();
        PowerMockito.doReturn(message).when(event).getLocalizedMessage();

        Edit edit = PowerMockito.mock(Edit.class);
        PowerMockito.doReturn(beginB).when(edit).getBeginB();
        PowerMockito.doReturn(endB).when(edit).getEndB();

        DiffEntryWrapper wrapper = PowerMockito.mock(DiffEntryWrapper.class);
        PowerMockito.doReturn(fileName).when(wrapper).getAbsoluteNewPath();
        PowerMockito.doReturn(Arrays.asList(edit)).when(wrapper).getEditList();

        DiffLineFilter filter = new DiffLineFilter(Arrays.asList(wrapper));

        Assert.assertTrue(filter.accept(event));
    }