$this->
markTestSkipped('Windows does not support shebangs nor non-blocking standard streams'
);
} $mail =
new Email();
$mail ->
from('from@mail.com'
) ->
to('to@mail.com'
) ->
subject('Subject'
) ->
text('Some text'
) ;
$envelope =
new DelayedEnvelope($mail);
$sendmailTransport =
new SendmailTransport(self::FAKE_SENDMAIL
);
$sendmailTransport->
send($mail,
$envelope);
$this->
assertStringEqualsFile($this->argsPath, __DIR__.'/Fixtures/fake-sendmail.php -ffrom@mail.com to@mail.com'
);
} public function testRecipientsAreUsedWhenSet() { if ('\\' === \DIRECTORY_SEPARATOR
) { $this->
markTestSkipped('Windows does not support shebangs nor non-blocking standard streams'
);
}