def METHOD_NAME(self):
    """ Undeclared fields are forbidden. """
    self.config['my_service']['undeclared_field'] = 'extra'
    self.assertValidationError(
        '[my_service]\n'
        'undeclared_field  <- unrecognized option')