@dataProvider evaluateDataprovider @covers PHPUnit_Framework_Constraint_JsonMatches::evaluate @covers PHPUnit_Framework_Constraint_JsonMatches::matches @covers PHPUnit_Framework_Constraint_JsonMatches::__construct
public function testEvaluate($expected, $jsonOther, $jsonValue) {
$constraint = new PHPUnit_Framework_Constraint_JsonMatches($jsonValue);
$this
->assertEquals($expected, $constraint
->evaluate($jsonOther, '', TRUE));
}