public void testListen_2() throws Exception {
DummyEventNotification theDummyEventNotification = new DummyEventNotification();
assertEquals(0, theDummyEventNotification.getOccurredDomainEvents().size());
GWTStreamingClientConnector theGWTStreamingClientConnector = new GWTStreamingClientConnectorGecko();
theGWTStreamingClientConnector.init(myEventService);
theGWTStreamingClientConnector.listen(theDummyEventNotification, new DummyListenAsyncCallback());
assertEquals(0, theDummyEventNotification.getOccurredDomainEvents().size());
theGWTStreamingClientConnector.receiveEvent("[0,3,2,1,[\"de.novanic.eventservice.client.event.DefaultDomainEvent/3924906731\",\"de.novanic.eventservice.client.event.domain.DefaultDomain/240262385\",\"test_domain\"],0," + ClientSerializationStreamReader.SERIALIZATION_STREAM_VERSION + "]");
theGWTStreamingClientConnector.listen(theDummyEventNotification, new DummyListenAsyncCallback());
assertEquals(1, theDummyEventNotification.getOccurredDomainEvents().size());
assertNotNull(theDummyEventNotification.getOccurredDomainEvents().get(0));
assertNotNull(theDummyEventNotification.getOccurredDomainEvents().get(0).getDomain());
assertNull(theDummyEventNotification.getOccurredDomainEvents().get(0).getEvent());