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
PhpBench
Tests
Unit
Expression
ParserTest
testInvalidJson
PhpBench\Tests\Unit\Expression\ParserTest::testInvalidJson PHP Method
ParserTest Class Documentation
Show file
Open project: dantleech/phpbench
testInvalidJson()
public
method
It should throw an exception if the JSON is invalid.
public
testInvalidJson
( )
public function testInvalidJson() { $this->parser->parse('{"$eq": ["benchmark", foo__'); }
ParserTest
provideComparison
setUp
testComparison
testCompositeConstraints
testImplicitAnd
testInvalidJson
testInvalidOperator
testKeyValueEquality
testMultipleComposite