@Test
public void testGetEntityWhenExists() {

    final RevisableEntity entity = entityService.get(() -> new TestEntity("1", null));
    assertNotNull(entity);
    final RevisionInfo revision = entity.getRevision();
    assertNotNull(revision);
    assertEquals(0, revision.getVersion().longValue());
}