### Question:
DefaultHarvest implements Harvest { @Override public <E extends HarvesterEvent> void postEvent(final E event) { eventSink.publish(event); } @Inject  DefaultHarvest(final ConfigFactory configFactory,
            final HarvesterFactory harvestFactory,
            final HandlerHolder handlerHolder, final EventSink eventSink); @Override Harvester getHarvester(final ConfigSource source,
            final HarvestLoadCallback callback); @Override void addEventHandler(final EventHandler<?> handler); @Override void postEvent(final E event);  }### Answer:
@Test public void testPostEvent() { mockEventSink.publish(mockEvent); EasyMockUnitils.replay(); harvest.postEvent(mockEvent); }