void () { setContent(f, "1", TIMESTAMP_INCREMENT); setContent(f, "2", TIMESTAMP_INCREMENT * 2); FileRevisionTimestampComparator c = new FileRevisionTimestampComparator() { @Override public boolean isSuitable(long revisionTimestamp) { return revisionTimestamp < 10000; } }; assertContentAt(c, "2"); }