@Test(timeout = 5000)
public void testSendMMIEvent() throws Exception {

    final Mmi mmi = new Mmi();
    final PrepareResponse response = new PrepareResponse();
    mmi.setLifeCycleEvent(response);
    final String requestId = "requestId1";
    final String source = "source1";
    final String target = "target1";
    final String context = "context1";
    response.setRequestId(requestId);
    response.setSource(source);
    response.setTarget(target);
    response.setContext(context);
    final UmundoETLProtocolAdapter adapter = new UmundoETLProtocolAdapter();
    adapter.start();
    Thread.sleep(1000);
    adapter.sendMMIEvent("desktop", mmi);
    receiver.waitReceivedObject();
    final Object object = receiver.getReceivedObject();
    adapter.stop();
}