@Override
    public FieldSet getForwardingTargetFields(int input, int sourceField) {
        if (input != 0) {
            throw new IndexOutOfBoundsException();
        }

        return this.fieldMapping.containsKey(sourceField)
                ? this.fieldMapping.get(sourceField)
                : FieldSet.EMPTY_SET;
    }
@Test
    void testAllForwardedSingleInputSemPropsInvalidIndex2() {

        assertThatThrownBy(
                        () -> {
                            SingleInputSemanticProperties sp =
                                    new SingleInputSemanticProperties
                                            .AllFieldsForwardedProperties();
                            sp.getForwardingTargetFields(1, 0);
                        })
                .isInstanceOf(IndexOutOfBoundsException.class);
    }