assertSameArray()
assertSameArray(array $expected, mixed $actual, string|null $prefix = null) : void
Asserts the given $actual array is the same as the $expected array disregarding index order
Parameters
| array | $expected | The expected array. |
| mixed | $actual | The actual array. |
| string|null | $prefix | Prefix to use with error messages. Useful for nested arrays. |