@Test
public void testAddEventHandler() {

    final EventHandler<HarvesterEvent> handler =
            new EventHandler<HarvesterEvent>() {
                @Override
                public void handle(final HarvesterEvent event) {
                    // Do nothing
                }
            };
    mockHandlerHolder.register(handler);
    expectLastCall();
    EasyMockUnitils.replay();
    harvest.addEventHandler(handler);
}