A "Transport" is a common concept within Symfony (mailer/notifier/messenger). It isn't entirely clear that this is a messenger transport and could interfere with other test methods in the future. Should it perhaps be renamed to messenger()?
// current
$this->transport()->queue()->assertEmpty();
$this->transport()->queue()->assertNotEmpty();
$this->transport()->queue()->assertCount(3);
// proposed
$this->messenger()->queue()->assertEmpty();
$this->messenger()->queue()->assertNotEmpty();
$this->messenger()->queue()->assertCount(3);
A "Transport" is a common concept within Symfony (mailer/notifier/messenger). It isn't entirely clear that this is a messenger transport and could interfere with other test methods in the future. Should it perhaps be renamed to
messenger()
?