public function testSliceNonDestructiveGaveNew() { $records = array('John', 'Sallie', 'Jane'); $results = Enumerator::slice($records, 0, 1); $this->assertEquals(array('John'), $results); }