public class OnlyErrorsWithoutExceptionsFilterTest{
@Test
public void testOkLog(){
LogPrintoutFilter filter = LogPrintoutFilterFactory.getFilterForErrorsWithoutExceptions();
Log logMock = EasyMock.createMock(Log.class);
EasyMock.expect(logMock.getStatus()).andReturn(new com.jitcaforwin.trackinfoanalyzer.log.status.Ok());
EasyMock.replay(logMock);
assertFalse(filter.isPrintAllowed(logMock));
EasyMock.verify(logMock);
}