@Override
    public boolean equals(Object o) {
        if (!super.equals(o)) {
            return false;
        }

        DataRecordWithStats that = (DataRecordWithStats) o;
        return value.equals(that.value);
    }
@Test
    public void testEquals() {
        assertEquals(record, record);
        assertEquals(record, recordSameAttributes);

        assertNotEquals(null, record);
        assertNotEquals(new Object(), record);

        assertNotEquals(record, objectRecord);
        assertNotEquals(record, recordOtherKeyAndValue);
    }