HippoStep\SilverStripePhpUnit9\SapphireTestPhpUnit9::assertEmailSent
Assert that the matching email was sent since the last call to clearEmails() All of the parameters can either be a string, or, if they start with "/", a PREG-compatible regular expression.
Signature
public function assertEmailSent(string
$to,
[string
$from = NULL,
[string
$subject = NULL,
[string
$content = NULL]]] )
Parameters
$to
— string$from
— string$subject
— string$content
— string