public function testShuffle() { // from js $numbers = __::range(10); $shuffled = __::shuffle($numbers); sort($shuffled); $this->assertEquals(join(',', $numbers), join(',', $shuffled), 'contains the same members before and after shuffle'); }