public function testThrowExceptionByType($type, $exceptionName) { $this->assertInstanceOf($exceptionName, $this->transport->getExceptionByType($type, null)); }