public function testCleanupTrash()
{
$this->insertDatabaseFixture(__DIR__ . '/_fixtures/full_example_tree.php');
$handler = $this->getLocationGateway();
$this->trashSubtree();
$handler->cleanupTrash();
$query = $this->handler->createSelectQuery();
$this->assertQueryResult(array(), $query->select('*')->from('ezcontentobject_trash'));
}