/** * Test exceptions * * @covers \SMSFactory\Sender::__construct() * @expectedException \SMSFactory\Exceptions\BaseException * @expectedExceptionCode 500 */ public function testException() { $this->di->remove('config'); new Sender($this->di); }