testSubject.persistEvent(aggregateType, dem1, getPayload(), getMetaData());
DomainEventMessage dem2 = new GenericDomainEventMessage(aggregateIdentifier, 123, "apayload2");
testSubject.persistEvent(aggregateType, dem2, getPayloadv4(), getMetaData());
JdbcCriteriaBuilder builder = new JdbcCriteriaBuilder();
JdbcCriteria criteria = (JdbcCriteria) builder.property("payloadrevision").lessThan("4");
StringBuilder query = new StringBuilder();
ParameterRegistry parameters = new ParameterRegistry();
criteria.parse("", query, parameters);