/**
  * @expectedException \DomainException
  * @expectedExceptionMessage Not yet implemented
  * @throws \DomainException
  */
 public function testConvertFromException()
 {
     $converter = Converter::build();
     $converter->convertFromException(new Exception());
 }
Ejemplo n.º 2
0
 /**
  * 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);
 }