async def METHOD_NAME(self):
    sms_client = self.create_client_from_connection_string()
    with pytest.raises(HttpResponseError) as ex:
        async with sms_client:
            # calling send() with sms values
            await sms_client.send(
                from_="+15550000000",
                to=[self.phone_number],
                message="Hello World via SMS")
    assert str(
        ex.value.status_code) == "401"
    assert ex.value.message is not None