@Override
    public int hashCode() {
        int result = storageRef.get().hashCode();
        result = 31 * result + (name != null ? name.hashCode() : 0);
        return result;
    }
@Test
    public void testHashCode() {
        assertEquals(recordStore.hashCode(), recordStore.hashCode());
        assertEquals(recordStoreSameAttributes.hashCode(), recordStore.hashCode());

        assumeDifferentHashCodes();
        assertNotEquals(recordStoreOtherStorage.hashCode(), recordStore.hashCode());
        assertNotEquals(recordStoreOtherName.hashCode(), recordStore.hashCode());
    }