public int compareTo(Position that) {
        return super.compareTo(that);
    }
@Test
    public void testCompareTo(){
        Position position = PositionFactory.create(1, 1);
        TxnBatchedPositionImpl txnBatchedPosition = new TxnBatchedPositionImpl(position, 2, 0);
        Assert.assertEquals(position.compareTo(txnBatchedPosition), 0);
        Assert.assertEquals(txnBatchedPosition.compareTo(position), 0);
    }