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
JsonContext
theResponseShouldBeInJson
Sanpi\Behatch\Context\JsonContext::theResponseShouldBeInJson PHP Method
JsonContext Class Documentation
Show file
Open project: behatch/contexts
theResponseShouldBeInJson()
public
method
Checks, that the response is correct JSON
public
theResponseShouldBeInJson
( )
public function theResponseShouldBeInJson() { $this->getJson(); }
JsonContext
__construct
checkSchemaFile
getJson
printLastJsonResponse
theJsonNodeShouldBeEqualTo
theJsonNodeShouldBeEqualToTheNumber
theJsonNodeShouldBeEqualToTheString
theJsonNodeShouldBeFalse
theJsonNodeShouldBeNull
theJsonNodeShouldBeTrue
theJsonNodeShouldContain
theJsonNodeShouldExist
theJsonNodeShouldHaveElements
theJsonNodeShouldNotBeNull
theJsonNodeShouldNotContain
theJsonNodeShouldNotExist
theJsonNodesShoudBeEqualTo
theJsonNodesShoudContain
theJsonNodesShoudNotContain
theJsonShouldBeEqualTo
theJsonShouldBeInvalidAccordingToTheSchema
theJsonShouldBeValidAccordingToTheSchema
theJsonShouldBeValidAccordingToThisSchema
theResponseShouldBeInJson
theResponseShouldNotBeInJson