mem.add(new Triple(resource, HAS_VERSION.asNode(), v2));
mem.add(new Triple(v2, CREATED_DATE.asNode(),
createLiteral(now.toString())));</BUG>
mem.add(new Triple(resource, HAS_VERSION.asNode(), v3));
mem.add(new Triple(v3, CREATED_DATE.asNode(),
<BUG>createLiteral(later.toString())));
</BUG>
final Iterator<Node> versions = testObj.getOrderedVersions(mem, resource, HAS_VERSION);
versions.next();
versions.next();

mem.add(new Triple(resource, HAS_VERSION.asNode(), v2));
mem.add(new Triple(v2, CREATED_DATE.asNode(), createLiteral(date.toString())));
mem.add(new Triple(resource, HAS_VERSION.asNode(), v3));
mem.add(new Triple(v3, CREATED_DATE.asNode(),
createLiteral(date.plusMillis(10000l).toString())));
final Iterator<Node> versions = testObj.getOrderedVersions(mem, resource, HAS_VERSION);
versions.next();
versions.next();
