public static function Framework_AssertTest::validInvalidJsonDataprovider in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/tests/Framework/AssertTest.php \Framework_AssertTest::validInvalidJsonDataprovider()
Return value
array
File
- vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php, line 4123
Class
- Framework_AssertTest
- @since Class available since Release 2.0.0
Code
public static function validInvalidJsonDataprovider() {
return array(
'error syntax in expected JSON' => array(
'{"Mascott"::}',
'{"Mascott" : "Tux"}',
),
'error UTF-8 in actual JSON' => array(
'{"Mascott" : "Tux"}',
'{"Mascott" : :}',
),
);
}