示例#1
0
 public function testAggregateMethodReturnsANewAggregateResultInstance()
 {
     $this->assertInstanceOf('\\Gasp\\Result\\Aggregate', $this->run->aggregate());
     $a = $this->run->aggregate();
     $b = $this->run->aggregate();
     $this->assertNotEquals(spl_object_hash($a), spl_object_hash($b));
 }