@Override
    public int getForwardingSourceField(int input, int targetField) {
        if (input != 0) {
            throw new IndexOutOfBoundsException();
        }

        for (Map.Entry<Integer, FieldSet> e : fieldMapping.entrySet()) {
            if (e.getValue().contains(targetField)) {
                return e.getKey();
            }
        }
        return -1;
    }
@Test
    void testAllForwardedSingleInputSemPropsInvalidIndex1() {

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