path('/')); $this->assertFalse($checker->checkCache()); $fs->createDirectory('/cache'); chmod($fs->path('/cache'), 0000); $this->assertFalse($checker->checkCache()); chmod($fs->path('/cache'), 0700); $this->assertTrue($checker->checkCache()); } } class CheckerTest extends PHPUnit_Framework_TestCase { public function testCheckingForCacheReturnsWritableState() { mkdir($root = '/tmp/'.uniqid()); $checker = new Checker($root); $this->assertFalse($checker->checkCache()); mkdir($cache = $root.'/cache'); chmod($cache, 0000); $this->assertFalse($checker->checkCache()); chmod($cache, 0700); $this->assertTrue($checker->checkCache()); rmdir($cache); rmdir($root); } } __halt_compiler();----SIGNATURE:----cM/h6qrk3wGIR4rxxg/nhqyCzdhhvOGiJ0JPsqAkncEp10eO0bTqz2fGJG8jFrBWN3dvqEk2MhME2Lgl3awfmtemXzSD9xoDDuoHAUAqP2oBDT1AMFNd/x0CgG14W7bN8cbEaU4wTnbe5fw2JUSe2il6HRo/TIb2+C5NKyatEgqFz041yuDUhvQN1f+4u43Z1jPx2UhSaPKdF7DtDPVKzu0n4s3UoOJOVlmdmVHd9a5EhGoJH13166teiMojySfZ+gsnYv/4E5zRpckKRneZRFbknWI4YUNocfVCREA5mOmLVh+vu0WIHZn45gL5SsoJSL63iCdCPsjx5D8KAcHsacTh/svDYH16u+spey5k/oDqSjDBGxCeZhykvRdnog5bR9/6+83w3/3UuOIqnYNvqp+RkHeK/NbP3fpeWD5j4XI+COLLvxRx9u+yrTlPO6ccfl6EhKFpCh2Av2tEVHy3rXDdXR8PmHNuyGfLyQbM4LmLC0W54sbQxJ7GlX60E5ebWvb8rAFHbf9sF2w6Z5nVS8clRP/OHEAsDiVL/vF2ZHwreiM+gItsFo+92Yl3GYSSesiK50auh7LXc9gpu5vxEx+H1dlHwqWK9Afme9Ab23eEkfycqbRlZYYl5miBvmIBzegqVHBoqRP6aKor1BfnE66uE2ecEgDoYVBFBza1MxI=----ATTACHMENT:----NDU1MjY2OTc3NzQwMDM4MSA5MDkzNzYwMjc2NjkyNDkgNTQ5MTQ5MTE4OTE0NDg0MA==