--TEST-- Test Collection::union(). --FILE-- union($collection1)->toArray() != $union) { echo 'Collection::union() failed.', PHP_EOL; } ?> --EXPECT--