@Test(groups = "fast")
public void testOfferEvent() throws Exception
{

    controller.offerEvent(event);
    Assert.assertEquals(controller.getEventsReceived().get(), 1);
    diskWriter.commit();
    Assert.assertEquals(controller.getEventsLost().get(), 0);
}