You are here

public function Framework_Constraint_JsonMatches_ErrorMessageProviderTest::testDetermineJsonError in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/Framework/Constraint/JsonMatches/ErrorMessageProviderTest.php \Framework_Constraint_JsonMatches_ErrorMessageProviderTest::testDetermineJsonError()

@dataProvider determineJsonErrorDataprovider @covers PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider::determineJsonError

File

vendor/phpunit/phpunit/tests/Framework/Constraint/JsonMatches/ErrorMessageProviderTest.php, line 32

Class

Framework_Constraint_JsonMatches_ErrorMessageProviderTest
@since File available since Release 3.7.0

Code

public function testDetermineJsonError($expected, $error, $prefix) {
  $this
    ->assertEquals($expected, PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider::determineJsonError($error, $prefix));
}