@Test
  public void testEventHierarchyTrigger() {
    registerEvents();

    Object event = new Object();
    eventManager.trigger(event);

    assertNull(target.getEvent());
    assertEquals(event, target.getObjectEvent());
  }
  @Test
  public void testRegistration() {
    registerEvents();

    ObservesEvent event = new ObservesEvent();
    eventManager.trigger(event);

    assertEquals(event, target.getEvent());
    assertEquals(event, target.getObjectEvent());
  }