async def test_retrieve_mediation_request_x_not_found(self):
    with async_mock.patch.object(test_module.MediationRecord, 'retrieve_by_id', async_mock.CoroutineMock(side_effect=test_module.StorageNotFoundError())) as mock_mediation_record_retrieve, async_mock.patch.object(test_module.web, 'json_response') as mock_response, self.assertRaises(test_module.web.HTTPNotFound):
        (await test_module.retrieve_mediation_request(self.request))
async def test_retrieve_mediation_request_x_not_found(self):
    with async_mock.patch.object(test_module.MediationRecord, 'retrieve_by_id', async_mock.CoroutineMock(side_effect=test_module.StorageNotFoundError())) as mock_mediation_record_retrieve, async_mock.patch.object(test_module.web, 'json_response') as mock_response, self.assertRaises(test_module.web.HTTPNotFound):
        (await test_module.retrieve_mediation_request(self.request))