async def METHOD_NAME(
    response: InferenceResponse, integrated_gradients_runtime: AlibiExplainRuntime
):
    async def _mocked_predict(request: InferenceRequest) -> InferenceResponse:
        return response
    with patch.object(integrated_gradients_runtime, "predict", _mocked_predict):
        request = InferenceRequest(inputs=[])
        with pytest.raises(InvalidExplanationShape):
            assert isinstance(integrated_gradients_runtime, AlibiExplainRuntimeBase)
            await integrated_gradients_runtime.explain_v1_output(request)