isStrictlyEqualToJson
Verifies that the actual value is 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
the expected JSON or the name of a resource containing the expectedJSON
Throws
if the actual JSON value is not equal to the given one
Verifies that the actual value is strictly equal to the specified JSON resource.
Return
this
assertion object
Parameters
the name of a resource containing the expected JSON
the source class used to load the resource
Throws
if the actual JSON value is not equal to the given one
Verifies that the actual value is strictly equal to the specified JSON bytes.
Return
this
assertion object
Parameters
the expected JSON bytes
Throws
if the actual JSON value is not equal to the given one
Verifies that the actual value is strictly equal to the specified JSON file.
Return
this
assertion object
Parameters
a file containing the expected JSON
Throws
if the actual JSON value is not equal to the given one
Verifies that the actual value is strictly equal to the specified JSON input stream.
Return
this
assertion object
Parameters
an input stream containing the expected JSON
Throws
if the actual JSON value is not equal to the given one
Verifies that the actual value is strictly equal to the specified JSON resource.
Return
this
assertion object
Parameters
a resource containing the expected JSON
Throws
if the actual JSON value is not equal to the given one