def METHOD_NAME(self, **kwargs):
    try:
        return kwargs.get(self.spring_parameter_name)
    except KeyError:
        template = 'To get a Spring app, a Spring resource is required. Please add ' \
                   'decorator @{} in front of this Spring preparer.'
        raise CliTestError(template.format(SpringPreparer.__name__))