assertEquals("" + domainEvent.eventVersion(), reader.eventStringValue("/eventVersion"));
assertEquals("" + domainEvent.id(), reader.eventStringValue("id"));
assertEquals("" + domainEvent.id(), reader.eventStringValue("/id"));
assertEquals("" + domainEvent.name(), reader.eventStringValue("name"));
assertEquals("" + domainEvent.name(), reader.eventStringValue("/name"));
assertEquals("" + domainEvent.occurredOn().getTime(), reader.eventStringValue("occurredOn"));
assertEquals("" + domainEvent.occurredOn().getTime(), reader.eventStringValue("/occurredOn"));
}
public void testReadNestedDomainEventProperties() throws Exception {
TestableNavigableDomainEvent domainEvent = new TestableNavigableDomainEvent(100, "testing");