public static <T> TypeSerializer<T> wrapIfNullIsNotSupported(
            @Nonnull TypeSerializer<T> originalSerializer, boolean padNullValueIfFixedLen) {
        return checkIfNullSupported(originalSerializer)
                ? originalSerializer
                : wrap(originalSerializer, padNullValueIfFixedLen);
    }
@Test
    void testWrappingNeeded() {
        assertThat(nullableSerializer)
                .isInstanceOf(NullableSerializer.class)
                .isEqualTo(
                        NullableSerializer.wrapIfNullIsNotSupported(
                                nullableSerializer, isPaddingNullValue()));
    }