def METHOD_NAME(self):
    credential = MetricsAdvisorKeyCredential(self.subscription_key, self.api_key)
    client = MetricsAdvisorClient(self.service_endpoint, credential)
    # make successful call
    result = client.get_feedback(feedback_id=self.feedback_id)
    assert result
    # rotate one key
    credential.update_key(api_key="xxx")
    assert credential.subscription_key == self.subscription_key
    assert credential.api_key == "xxx"
    # call fails
    with pytest.raises(HttpResponseError):
        result = client.get_feedback(feedback_id=self.feedback_id)
    # rotate back to valid credentials
    credential.update_key(api_key=self.api_key)
    assert credential.subscription_key == self.subscription_key
    assert credential.api_key == self.api_key
    # make successful call
    result = client.get_feedback(feedback_id=self.feedback_id)
    assert result