@Test
    void requireThatEqualsIsImplemented() {
        RangePartition lhs = new RangePartition("foo=10-19");
        assertEquals(lhs, lhs);
        assertNotEquals(lhs, new Object());

        RangePartition rhs = new RangePartition("bar=1000-1999");
        assertNotEquals(lhs, rhs);
        rhs = new RangePartition("foo=10-19");
        assertEquals(lhs, rhs);
    }
@author <a href="mailto:magnarn@yahoo-inc.com">Magnar Nedland</a>
predicate-search-core/src/test/java/com/yahoo/document/predicate/RangePartitionTest.java