### Question:
StandardRevisableEntityService implements RevisableEntityService { @Override public <T extends RevisableEntity> List<T> getEntities(final Supplier<List<T>> getEntities) { final List<T> entities = getEntities.get(); populateRevisableEntityRevisions(entities); return entities; } StandardRevisableEntityService(final RevisionManager revisionManager); @Override T create(final T requestEntity, final String creatorIdentity, final Supplier<T> createEntity); @Override T get(final Supplier<T> getEntity); @Override List<T> getEntities(final Supplier<List<T>> getEntities); @Override T update(final T requestEntity, final String updaterIdentity, final Supplier<T> updateEntity); @Override T delete(final String entityIdentifier, final RevisionInfo revisionInfo, final Supplier<T> deleteEntity); @Override void populateRevisions(final Collection<?> entities);  }### Answer:
@Test public void testGetEntities() { final TestEntity entity1 = new TestEntity("1", null); final TestEntity entity2 = new TestEntity("2", null); final List<TestEntity> entities = Arrays.asList(entity1, entity2); final List<TestEntity> resultEntities = entityService.getEntities(() -> entities); assertNotNull(resultEntities); resultEntities.forEach(e -> { assertNotNull(e.getRevision()); assertEquals(0, e.getRevision().getVersion().longValue()); }); }