public static <X> TypeInformation<X> getForObject(X value) {
        return new TypeExtractor().privateGetForObject(value);
    }
@Test
    void testMethodChainingPojo() {
        CustomChainingPojoType t = new CustomChainingPojoType();
        t.setMyField1("World").setMyField2(1);
        TypeInformation<?> ti = TypeExtractor.getForObject(t);

        assertThat(ti.isBasicType()).isFalse();
        assertThat(ti.isTupleType()).isFalse();
        assertThat(ti).isInstanceOf(PojoTypeInfo.class);
        assertThat(ti.getTypeClass()).isEqualTo(CustomChainingPojoType.class);
    }