### Question:
Range { public boolean isEmpty() { return start == -1 && end == -1; } Range(long start, long end); GraphTraversal<? extends Element, ?> applyRange(GraphTraversal<? extends Element, ?> traversal); long difference(); boolean isEmpty(); boolean isAll(); @Override String toString(); boolean sizeExceeds(long value); static final Range ALL; }### Answer:
@Test public void shouldIndicateIfEmpty(){ assertTrue(new Range(-1, -1).isEmpty()); assertFalse(new Range(0, 1).isEmpty()); assertFalse(new Range(0, -1).isEmpty()); }