public static <T> SerializedValue<T> fromBytes(byte[] serializedData) {
        return new SerializedValue<>(serializedData);
    }
@Test
    void testFromEmptyBytes() {
        assertThatThrownBy(() -> SerializedValue.fromBytes(new byte[0]))
                .isInstanceOf(IllegalArgumentException.class);
    }