Function<String, Object> getInjectionContext(String fieldName, Object value) {
        return new Function<String, Object>() {

            @Override
            public Object apply(String key) {
                if (fieldName.equalsIgnoreCase(key)) {
                    return value;
                }
                return null;
            }
        };
    }