예제 #1
0
 public function testGettingSumFromEmptyCollection()
 {
     $c = new Collection();
     $this->assertEquals(0, $c->sum('foo'));
 }