@Test(expectedExceptions = ConflictException.class) 
public void parseInvalidRevision() throws ConflictException {

    int ver = DocumentUtil.parseVersion("some-text-98765");
    assertTrue(false, "Parsing of invalid revision must fail, but did not.");
}