I am wondering whether I could test my application by sending a text message to a phone number that will always fail.
My idea is to see that my application behaves as expected when the sending of a text message fails. So I was hoping that some phone number could be considered invalid by the SMS system and using that number get a failed reply from the sendTextMessage
function.
That way I can relay that error to the user. Having such a bad phone number would be cleaner than having a hack in the application since the hack could end up being a bug.
sendTextMessage()
function!