@Test
public void testGetRevisionWhenDoesNotExist() {

    final String entityId = "entity1";
    final Revision revision = revisionManager.getRevision(entityId);
    assertNotNull(revision);
    assertEquals(entityId, revision.getEntityId());
    assertEquals(0L, revision.getVersion().longValue());
    assertNull(revision.getClientId());
}