Asserts that two given JSON encoded objects or arrays are not equal.
string $expectedJson:
string $actualJson:
string $message:
public static function assertJsonStringNotEqualsJsonString($expectedJson, $actualJson, $message = '') {
self::assertJson($expectedJson, $message);
self::assertJson($actualJson, $message);
$expected = json_decode($expectedJson);
$actual = json_decode($actualJson);
self::assertNotEquals($expected, $actual, $message);
}