public static <X> TypeInformation<X> getForObject(X value) {
        return new TypeExtractor().privateGetForObject(value);
    }
@Test
    void testEitherFromObjectException() {
        assertThatThrownBy(
                        () -> {
                            Either<String, Tuple1<Integer>> either = Either.Left("test");
                            TypeExtractor.getForObject(either);
                        })
                .isInstanceOf(InvalidTypesException.class);
    }