I'm mocking the sendgrid library but not verifying the email sending methods have been called in my endpoints.
Should I verify these methods?
POST /users -> sendWelcomeEmail should have been called (Not certain about this)
DELETE /users/me -> sendCancelationEmail should have been called (Not certain about this)
I'm mocking the sendgrid library but not verifying the email sending methods have been called in my endpoints.
Should I verify these methods?
POST /users -> sendWelcomeEmail should have been called (Not certain about this)
DELETE /users/me -> sendCancelationEmail should have been called (Not certain about this)