/** * @expectedException InvalidArgumentException */ public function testSslInvalidBooleanValueThrowException() { $this->mailOptions->setSsl(true); }