isNotStrictlyEqualToJson

Verifies that the actual value is not strictly equal to the specified JSON. The expected value can contain the JSON itself or, if it ends with .json, the name of a resource to be loaded using resourceLoadClass.

Return

this assertion object

Parameters

expected

the expected JSON or the name of a resource containing the expectedJSON

Throws

if the actual JSON value is equal to the given one


open fun isNotStrictlyEqualToJson(path: String, resourceLoadClass: Class<out Any>): JsonContentAssert

Verifies that the actual value is not strictly equal to the specified JSON resource.

Return

this assertion object

Parameters

path

the name of a resource containing the expected JSON

resourceLoadClass

the source class used to load the resource

Throws

if the actual JSON value is equal to the given one


Verifies that the actual value is not strictly equal to the specified JSON bytes.

Return

this assertion object

Parameters

expected

the expected JSON bytes

Throws

if the actual JSON value is equal to the given one


Verifies that the actual value is not strictly equal to the specified JSON file.

Return

this assertion object

Parameters

expected

a file containing the expected JSON

Throws

if the actual JSON value is equal to the given one


Verifies that the actual value is not strictly equal to the specified JSON input stream.

Return

this assertion object

Parameters

expected

an input stream containing the expected JSON

Throws

if the actual JSON value is equal to the given one


Verifies that the actual value is not strictly equal to the specified JSON resource.

Return

this assertion object

Parameters

expected

a resource containing the expected JSON

Throws

if the actual JSON value is equal to the given one