public function testListTrashSortedDepth()
{
$this->insertDatabaseFixture(__DIR__ . '/_fixtures/full_example_tree.php');
$handler = $this->getLocationGateway();
$this->trashSubtree();
$this->assertEquals(array('/1/2/69/', '/1/2/69/76/', '/1/2/69/72/', '/1/2/69/70/', '/1/2/69/72/75/', '/1/2/69/72/74/', '/1/2/69/72/73/', '/1/2/69/70/71/'), array_map(function ($trashItem) {
return $trashItem['path_string'];
}, $trashList = $handler->listTrashed(0, null, array(new SortClause\Location\Depth(), new SortClause\Location\Path(Query::SORT_DESC)))));
}