Пример #1
0
 @Test
 public void testMoreImportantUnknown() {
   assertTrue(ErrorLevel.UNKNOWN.moreImportant(ErrorLevel.MEDIUM));
   assertTrue(ErrorLevel.UNKNOWN.moreImportant(ErrorLevel.HIGH));
   assertTrue(ErrorLevel.UNKNOWN.moreImportant(ErrorLevel.FATAL));
   assertTrue(ErrorLevel.UNKNOWN.moreImportant(ErrorLevel.LOW));
   assertFalse(ErrorLevel.UNKNOWN.moreImportant(ErrorLevel.UNKNOWN));
   assertFalse(ErrorLevel.UNKNOWN.moreImportant(null));
 }