Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Sanpi
Behatch
Context
XmlContext
printLastXmlResponse
Sanpi\Behatch\Context\XmlContext::printLastXmlResponse PHP Method
XmlContext Class Documentation
Show file
Open project: behatch/contexts
printLastXmlResponse()
public
method
Optimistically (ignoring errors) attempt to pretty-print the last XML response
public
printLastXmlResponse
( )
public function printLastXmlResponse() { echo (string) $this->getDom(); }
XmlContext
beforeScenario
getDom
printLastXmlResponse
theAtomFeedShouldBeValid
theResponseShouldBeInXml
theResponseShouldNotBeInXml
theRss2FeedShouldBeValid
theXmlAttributeShouldBeEqualTo
theXmlAttributeShouldExist
theXmlAttributeShouldNotBeEqualTo
theXmlAttributeShouldNotExist
theXmlElementShouldBeEqualTo
theXmlElementShouldContain
theXmlElementShouldExist
theXmlElementShouldHaveNChildElements
theXmlElementShouldNotBeEqualTo
theXmlElementShouldNotContain
theXmlElementShouldNotExist
theXmlFeedShouldBeValidAccordingToItsDtd
theXmlFeedShouldBeValidAccordingToTheRelaxNgSchema
theXmlFeedShouldBeValidAccordingToTheXsd
theXmlFeedShouldBeValidAccordingToThisRelaxNgSchema
theXmlFeedShouldBeValidAccordingToThisXsd
theXmlShouldNotUseTheNamespace
theXmlShouldUseTheNamespace