public <T> void injectValueByType(Class<T> clazz, T value) {
        state.updateValueByType(clazz, value);
    }
@throws JGivenMissingRequiredScenarioStateException in case a field requires
                                                    a value and the value is not present
jgiven-core/src/main/java/com/tngtech/jgiven/impl/inject/ValueInjector.java