public static <V> DeferredValue<V> withSerializedValue(Data serializedValue) {
        if (serializedValue == null || isNullData(serializedValue)) {
            return NULL_VALUE;
        }
        DeferredValue<V> deferredValue = new DeferredValue<>();
        deferredValue.serializedValue = serializedValue;
        deferredValue.serializedValueExists = true;
        return deferredValue;
    }
@Test
    public void testEquals_WithSerializedValue() {
        DeferredValue<String> v1 = DeferredValue.withSerializedValue(serializedValue);
        DeferredValue<String> v2 = DeferredValue.withSerializedValue(serializedValue);
        assertEquals(v1, v2);
    }