Assert that the app sent an e-mail with a subject to an address (a handle of the users registry stands for its address) since the scenario started.
Examples
Then an email with the subject "Your post received a comment!" should be sent to "administrator"
Then an email with the subject "Your post received a comment!" should be sent to "jane_admin@example.com"
And an email with the subject "Your post received a comment!" should be sent to "user"
Then an email with the subject "Your post received a comment!" should be sent to "administrator"
And an email with the subject "Your post received a comment!" should be sent to "john_user@example.com"
Pattern
Then(/^an email with the subject "([^"]*)" should be sent to "([^"]*)"$/, …)
Part of @webship-js/symfony-steps (github.com/webship/symfony-steps), a step pack for Webship-js 2.0.x.