public function ContentTest::testJson in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/behat/mink/driver-testsuite/tests/Basic/ContentTest.php \Behat\Mink\Tests\Driver\Basic\ContentTest::testJson()
File
- vendor/
behat/ mink/ driver-testsuite/ tests/ Basic/ ContentTest.php, line 59
Class
Namespace
Behat\Mink\Tests\Driver\BasicCode
public function testJson() {
$this
->getSession()
->visit($this
->pathTo('/json.php'));
$this
->assertContains('{"key1":"val1","key2":234,"key3":[1,2,3]}', $this
->getSession()
->getPage()
->getContent());
}