@Test public void testIsLeaf() { assertTrue(event1.isLeaf()); assertFalse(event2.isLeaf()); }
abstract boolean isLeaf();
Event { abstract boolean isLeaf(); }
Event { abstract boolean isLeaf(); Event(); }
Event { abstract boolean isLeaf(); Event();  }
Event { abstract boolean isLeaf(); Event();   }