Assertions use `Objects::areEqual` method, which is deprecated. They should use `Objects::deepEquals` instead.