public function test_destructive_alias_unique() { $arr = array(1, 1, 2, 3, 3, 2, 1, 1, 1); Enumerator::array_unique_($arr); $this->assertEquals(array(0 => 1, 2 => 2, 3 => 3), $arr); }