async def METHOD_NAME(self, client):
    from xmserrorresponse.operations._pet_operations import build_do_something_request
    request = build_do_something_request(what_action="jump")
    request.url = client._client.format_url(request.url)
    pipeline_response = await client._client._pipeline.run(request)
    class MyPetSadError(PetSadError):
        def read(self):
            return b"ignore me"
    pipeline_response.context['deserialized_data'] = {
        "reason": "Not OK",
        "errorMessage": "i should be the message",
        "errorType": "my own error type",
        "actionResponse": "hello"
    }
    # add pipeline context with deserialized data and pass to failsafe_deserialize
    # should get a correct model
    error_model = client._deserialize.failsafe_deserialize(MyPetSadError, pipeline_response)
    assert isinstance(error_model, MyPetSadError)
    assert error_model.action_response == "hello"
    assert error_model.error_message == "i should be the message"
    error = HttpResponseError(response=pipeline_response.http_response, model=error_model)
    assert isinstance(error.model, MyPetSadError)
    assert error.model.action_response == "hello"
    assert error.model.error_message == "i should be the message"