/** * @test */ public function sendWorks() { $this->mailer->expects($this->once())->method('send'); $this->controller->mailIt(); }