public static void getSemanticPropsDualFromString(
            DualInputSemanticProperties result,
            String[] forwardedFirst,
            String[] forwardedSecond,
            String[] nonForwardedFirst,
            String[] nonForwardedSecond,
            String[] readFieldsFirst,
            String[] readFieldsSecond,
            TypeInformation<?> inType1,
            TypeInformation<?> inType2,
            TypeInformation<?> outType) {
        getSemanticPropsDualFromString(
                result,
                forwardedFirst,
                forwardedSecond,
                nonForwardedFirst,
                nonForwardedSecond,
                readFieldsFirst,
                readFieldsSecond,
                inType1,
                inType2,
                outType,
                false);
    }
@Test
    void testForwardedNonForwardedFirstCheck() {
        String[] forwarded = {"1"};
        String[] nonForwarded = {"1"};
        assertThatThrownBy(
                        () ->
                                SemanticPropUtil.getSemanticPropsDualFromString(
                                        new DualInputSemanticProperties(),
                                        forwarded,
                                        null,
                                        nonForwarded,
                                        null,
                                        null,
                                        null,
                                        threeIntTupleType,
                                        threeIntTupleType,
                                        threeIntTupleType))
                .isInstanceOf(InvalidSemanticAnnotationException.class);
    }