/** * Checks wheather XML response does not match XPath * * ```php * <?php * $I->dontSeeXmlResponseMatchesXpath('//root/user[@id=1]'); * ``` * @part xml * @param $xpath */ public function dontSeeXmlResponseMatchesXpath($xpath) { $structure = new XmlStructure($this->response); $this->assertTrue($structure->matchesXpath($xpath), 'accidentally matched xpath'); }
/** * Checks wheather XML response does not match XPath * * ```php * <?php * $I->dontSeeXmlResponseMatchesXpath('//root/user[@id=1]'); * ``` * @part xml * @param $xpath */ public function dontSeeXmlResponseMatchesXpath($xpath) { $structure = new XmlStructure($this->connectionModule->_getResponseContent()); $this->assertTrue($structure->matchesXpath($xpath), 'accidentally matched xpath'); }