@Test(expected = IllegalArgumentException.class)
public void testCreateWhenNonZeroRevision() {

    final RevisionInfo requestRevision = new RevisionInfo(null, 99L);
    final RevisableEntity requestEntity = new TestEntity("1", requestRevision);
    entityService.create(requestEntity, "user1", () -> requestEntity);
}