/** * setUp * * @return void */ public function setUp() { parent::setUp(); $this->Email = new TestEmail(); Email::configTransport('debug', ['className' => 'Debug']); }