Example #1
0
 protected function setUp()
 {
     parent::setUp();
     $this->arrayToXmlConverter = $this->aStub('Autodns\\Tool\\ArrayToXmlConverter');
     $this->sender = $this->aStub('Buzz\\Browser')->with('post', $this->aResponse());
     $this->xmlToArrayConverter = $this->aStub('Autodns\\Tool\\XmlToArrayConverter');
 }
Example #2
0
 protected function setUp()
 {
     parent::setUp();
     $this->delivery = $this->aStub('Autodns\\Api\\XmlDelivery')->with('send', array());
     $this->accountInfo = $this->aStub('Autodns\\Api\\Account\\Info')->with('getAuthInfo', array());
 }