"d", testObj.getVersionLabel(mem, createURI("a/b/c")).orElse("d"));
}
@Test
public void testGetVersionDate() {
final Graph mem = createDefaultModel().getGraph();
<BUG>final String date = new Date().toString();
</BUG>
mem.add(new Triple(createURI("a/b/c"), CREATED_DATE.asNode(),
createLiteral(date)));
assertEquals("Date should be available.", date, testObj.getVersionDate(mem, createURI("a/b/c")).get());

"d", testObj.getVersionLabel(mem, createURI("a/b/c")).orElse("d"));
}
@Test
public void testGetVersionDate() {
final Graph mem = createDefaultModel().getGraph();
final String date = now().toString();
mem.add(new Triple(createURI("a/b/c"), CREATED_DATE.asNode(),
createLiteral(date)));
assertEquals("Date should be available.", date, testObj.getVersionDate(mem, createURI("a/b/c")).get());
