Closed amsoell closed 2 years ago
@amsoell you are correct. Thanks for finding this. However, it is farther reaching than this PR. I am going to add all the fixes and test updates for this.
I'm closing this PR as I merged #11 which solves this issue and more. It has been released as v0.3.1.
The
assertMailBodyContainsString
andassertMailBodyNotContainsString
assertions don't currently work with the documented use, becauseinterceptedMail()
returns an array of AssertableMessage objects. This just adds the AssertableMessage type to the method signatures.