示例#1
0
 public function test_getting_sum_from_empty_collection()
 {
     $c = new Collection();
     $this->assertEquals(0, $c->sum('foo'));
 }