"Scenario: Receive SMS with body When I send an sms to``+4745690001""with body``Hello world""Then I should receive an sms at``+4745690001""containing``world""."
It will be your web application that sends email/sms and testing it comes down to configuring the application to send email/sms to the mock servers.