A deep recursive comparison assertion, working on primitive types, arrays and objects.
Similar to equals, compares the content given objects. Its also more strict than equals: Comparisons are done using ===.
For a discussion of the concepts and reasons behind the implementation, see this article.
Arguments:
| actual | Object | |
|---|---|---|
| The actual result | ||
| expected | Object | |
| The expected result | ||
| message (Optional) | String | |
| A message to display with the assertion result | ||
