public static <T> CompressedSerializedValue<T> fromObject(T object) throws IOException {
        Preconditions.checkNotNull(object, "Value must not be null");
        return new CompressedSerializedValue<>(object);
    }
@Test
    void testNullValue() {
        assertThatThrownBy(() -> CompressedSerializedValue.fromObject(null))
                .isInstanceOf(NullPointerException.class);
    }