예제 #1
0
 public void testHasSource() {
   assertTrue(EventType.COMPONENT.hasSource());
   assertFalse(EventType.APPLICATION.hasSource());
 }
예제 #2
0
 public void testCanBeFired() {
   assertTrue(EventType.APPLICATION.canBeFired());
   assertTrue(EventType.COMPONENT.canBeFired());
 }