public function setUp()
{
$this->imageData = file_get_contents(FIXTURES_DIR . '/image.png');
$this->driver = $this->getDriver();
}
public function setUp() { if (!class_exists('MongoClient')) { $this->markTestSkipped('pecl/mongo >= 1.3.0 is required to run this test'); } $client = new MongoClient(); $client->selectDB($this->testDbName)->drop(); parent::setUp(); }