assertFalse(ok.hasToBeUpdated(new Unkown()));
}
@Test
public void testWarningStatus(){
LogStatus warning = new Warning();
assertFalse(warning.isOk());
assertTrue(warning.isWarning());
assertFalse(warning.isUnknown());
assertEquals(LogStatus.WARNING, warning.toChar());
assertFalse(warning.hasToBeUpdated(new Ok()));
assertFalse(warning.hasToBeUpdated(new Warning()));
assertTrue(warning.hasToBeUpdated(new Error()));
assertFalse(warning.hasToBeUpdated(new Unkown()));
}