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