private void checkInitialized(Object instance, Field field) {
        Object value = null;
        try {
            value = field.get(instance);
        } catch (IllegalAccessException e) {
            throw new JGivenInjectionException("The guaranteed field inside the scenario state cannot be accessed",
                                                e);
        }
        if (value == null) {
            throw new JGivenMissingGuaranteedScenarioStateException(field);
        }
    }
@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