public function testGetPath()
{
$size = \Elgg\EntityDirLocator::BUCKET_SIZE;
foreach ($this->guids as $guid) {
$test = new \Elgg\EntityDirLocator($guid);
// we start at 1 since there are no guids of 0
if ($guid < 5000) {
$path = "1/{$guid}/";
} elseif ($guid < 10000) {
$path = "5000/{$guid}/";
} elseif ($guid < 15000) {
$path = "10000/{$guid}/";
} elseif ($guid < 20000) {
$path = "15000/{$guid}/";
}
$this->assertSame($path, $test->getPath());
}
}