public function testValidXml() { $this->setStubResponse('<xml></xml>'); $this->module->seeResponseIsXml(); $this->setStubResponse('<xml><name>John</name></xml>'); $this->module->seeResponseIsXml(); $this->module->seeResponseEquals('<xml><name>John</name></xml>'); }
public function testValidXml() { $this->module->response = '<xml></xml>'; $this->module->seeResponseIsXml(); $this->module->response = '<xml><name>John</name></xml>'; $this->module->seeResponseIsXml(); $this->module->seeResponseEquals($this->module->response); }