public static <IN, OUT> TypeInformation<OUT> getOutputTypeForOneInputProcessFunction(
            OneInputStreamProcessFunction<IN, OUT> processFunction,
            TypeInformation<IN> inTypeInformation) {
        return TypeExtractor.getUnaryOperatorReturnType(
                processFunction,
                OneInputStreamProcessFunction.class,
                0,
                1,
                new int[] {1, 0},
                inTypeInformation,
                Utils.getCallLocationName(),
                true);
    }
@Test
    void testLambdaMissingType() {
        TypeInformation<Long> outputType =
                StreamUtils.getOutputTypeForOneInputProcessFunction(
                        (OneInputStreamProcessFunction<Integer, Long>)
                                (record, output, ctx) -> {
                                    // ignore
                                },
                        Types.INT);
        assertThat(outputType).isInstanceOf(MissingTypeInfo.class);
    }