Exemplo n.º 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');
 }
Exemplo n.º 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());
 }