public function tearDown()
{
$this->assertTrue(file_exists($this->config()->get('dataroot') . '1/1/75x125.jpg'));
$this->assertTrue(file_exists($this->config()->get('dataroot') . '1/1/300x300.jpg'));
$this->assertTrue(file_exists($this->config()->get('dataroot') . '1/1/600x300.jpg'));
$this->assertTrue(file_exists($this->config()->get('dataroot') . '1/1/300x600.jpg'));
$this->assertTrue(file_exists($this->config()->get('dataroot') . '1/1/400x300.gif'));
$this->assertTrue(file_exists($this->config()->get('dataroot') . '1/1/400x300.png'));
if (is_dir($this->entity_dir_path)) {
_elgg_rmdir($this->entity_dir_path);
}
if (is_dir($this->owner_dir_path)) {
_elgg_rmdir($this->owner_dir_path);
}
}