예제 #1
0
 /*
  * Test equals when the other object is not an instance of Level.
  */
 public void testEquals_NotLevel() {
   assertFalse(Level.ALL.equals(new Object()));
 }
예제 #2
0
 /*
  * Test equals when the other object is itself.
  */
 public void testEquals_Itself() {
   assertTrue(Level.ALL.equals(Level.ALL));
 }
예제 #3
0
 /*
  * Test equals when the other object is null.
  */
 public void testEquals_Null() {
   assertFalse(Level.ALL.equals(null));
 }