def METHOD_NAME(self, vocabulary, error_code=None):
    expected_params = self._make_vocabulary(vocabulary)
    response = {'VocabularyName': vocabulary['name']}
    self._stub_bifurcator(
        'update_vocabulary', expected_params, response, error_code=error_code)