public function setUp()
{
$this->_db->dropSchema('galleries');
$schema = new Schema($this->_schema);
$this->_db->createSchema('galleries', $schema);
foreach ($this->_mockData as $entry) {
$sql = "INSERT INTO galleries (name) VALUES ('" . $entry[1] . "')";
$this->_db->read($sql, array('return' => 'resource'));
}
}