I'm implementing the steps of a feature with Specflow and I have a problem with one of the steps.
Here is the Scenario :
Scenario: Cancel a yearly running subscription after legal retractation
Given I'm logged as "patrickTho"
And a running "Yearly" subscription
When I cancel my subscription the "2020-01-15"
Then I should have access until the end of the subscription
And received a confirmation for the canceling
I already have implemented all the steps except the last one because I don't know what to put in it...
The notification can be from multiple forms (Email, SMS, Notification...) and for exemple Technically we use our own implementation of IEmailSender from Microsoft.AspNetCore.Identity.UI.Services with SendGrid to send emails.
Technically I was thinking to set the "communication" inside a queue and test if I have something in it... but I believe that I will write extra code only to solve this Steps and not to solve a business problem
Any help was appreciated