/** * Expect that two given JSON encoded objects or arrays are not equal. * * @param string $expectedJson * @param string $message * * @return Expect */ public function notToEqualJson($expectedJson, $message = '') { Assert::assertJsonStringNotEqualsJsonString($expectedJson, $this->value, $message); return $this; }
public function isNotEqualToJsonString($string) { Assert::assertJsonStringNotEqualsJsonString($string, $this->actual, $this->description); return $this; }
/** * Asserts that two given JSON encoded objects or arrays are not equal. * * @param string $expectedJson * @param string $actualJson * @param string $message * @since Method available since Release 3.7.0 */ function assertJsonStringNotEqualsJsonString($expectedJson, $actualJson, $message = '') { return PHPUnit_Framework_Assert::assertJsonStringNotEqualsJsonString($expectedJson, $actualJson, $message = ''); }