/** * @expectedException \DomainException * @expectedExceptionMessage Not yet implemented * @throws \DomainException */ public function testConvertFromException() { $converter = Converter::build(); $converter->convertFromException(new Exception()); }
/** * Config constructor. * * @param PlatformConfig $config */ public function __construct(PlatformConfig $config) { $this->converter = Converter::build(); $this->soapHeaders[] = new \SoapHeader(self::SOAPHEADER_URL, 'HeaderLogin', ['username' => $config->getUserName(), 'password' => $config->getPassword()], true); parent::__construct($config); }