NotificationReader reader = new NotificationReader(serializedNotification);
assertEquals("" + domainEvent.eventVersion(), reader.eventStringValue("eventVersion"));
assertEquals("" + domainEvent.eventVersion(), reader.eventStringValue("/eventVersion"));
assertEquals(domainEvent.eventVersion(), reader.eventIntegerValue("eventVersion").intValue());
assertEquals(domainEvent.eventVersion(), reader.eventIntegerValue("/eventVersion").intValue());
assertEquals("" + domainEvent.nestedEvent().eventVersion(), reader.eventStringValue("nestedEvent", "eventVersion"));
assertEquals("" + domainEvent.nestedEvent().eventVersion(), reader.eventStringValue("/nestedEvent/eventVersion"));
assertEquals(domainEvent.nestedEvent().eventVersion(), reader.eventIntegerValue("nestedEvent", "eventVersion").intValue());
assertEquals(domainEvent.nestedEvent().eventVersion(), reader.eventIntegerValue("/nestedEvent/eventVersion").intValue());
assertEquals("" + domainEvent.nestedEvent().id(), reader.eventStringValue("nestedEvent", "id"));