public function testClosed()
{
$collection = new MockCollection();
$this->assertTrue($collection->closed());
$collection = new MockCollection(array('result' => 'foo'));
$this->assertFalse($collection->closed());
$collection->close();
$this->assertTrue($collection->closed());
}