RangePartition extends PredicateValue { public String getLabel() { return label; } RangePartition(String label);  RangePartition(String key, long fromInclusive, long toInclusive, boolean isNeg); String getLabel(); @Override RangePartition clone(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void requireThatConstructorsWork() { RangePartition part = new RangePartition("foo=10-19"); assertEquals("foo=10-19", part.getLabel()); part = new RangePartition("foo", 10, 19, false); assertEquals("foo=10-19", part.getLabel()); part = new RangePartition("foo", 10, 19, true); assertEquals("foo=-19-10", part.getLabel()); }