assert Arrays.asList(1, 2).equals(getAuditReader().getRevisions(UnversionedEntity.class, id1));
}
@Test
public void testHistoryOfId1() {
UnversionedEntity rev1 = new UnversionedEntity(id1, "a1", null);
UnversionedEntity rev2 = new UnversionedEntity(id1, "a2", null);
assert getAuditReader().find(UnversionedEntity.class, id1, 1).equals(rev1);
assert getAuditReader().find(UnversionedEntity.class, id1, 2).equals(rev2);
}