public void set(int index, Object val) {
        values[index] = val;
    }
@Test
    public void testSerialization() {
        HeapRow original = new HeapRow(2);
        original.set(0, 1);
        original.set(1, new SqlCustomClass(1));

        HeapRow restored = serializeAndCheck(original, JetSqlSerializerHook.ROW_HEAP);

        checkEquals(original, restored, true);
    }