Example #1
0
 public function testDistinctWorks()
 {
     $this->collection[] = (object) array('prop' => 'value');
     $this->collection[] = (object) array('prop' => 'value');
     $this->assertSame(array('value'), $this->collection->distinct('prop'));
 }