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:----L/+Skmr6nYBly3IfDHOExz1373b/azKBl/+vj86JJDHzn5WXH7szGtbeILk1oJcXIUu8XtY6dg/oHeNYMSjB3rddQY2MC0z/1/WlQGSMZQ6AGL+DPIjNeWopqr7wQyih8gj6Ef46Z3NV8HMeat5s/7cXBUIWkRJW4Qm8H2VmUVINYhLXS2Krpbrmv34cdbOlaIBNkzZTrDstTcdnTN2Vax9UHBzVqV/ZyxBv0B+wB4rhVf1a0vF9LFJ6uROJHJzjJrH8TUai9kb9c3gYB0E7Mxu1xCj0I4mCIkPv3q0bO2uCl7IwIP7PSDxV1PolSGRj71jCwwsHWUyKRb8G8eST8e+GXiq5Piaxt5zijmoTJ0T0rWJxkReRXqy1cYS8mPymkmkgqUL3lYO2+Vd0UUkRIdg8ov5p21FcmRfzBWRaIL8ubJaC9N/KpgfGnJiRyYqQal4IMDTufd7OV7wXe09PjA8cuuV0FxUZvmm7zA/baI1+oPAQH20fE+IlzKLv7WL/zO7ndg1k5JFnQ8yu3bqS/sji+o6xDDlBzGzX23XZJ7yHCsQlHOib0exdLPLBAbJZwu/mEayvMGiGiQiLrWrvGWu6ud0JTEotfH/duhrdbWYaJeEczaw2VsZp0g4J1tENHd/miojEVUKT2/IykHsk+LMSikBanbH3zM5vXgaii5E=----ATTACHMENT:----NDYxMDg1ODkxNjI4OTA3OCAxMzI3NDUxMDk5MjU3NDE3IDgzMTUxOTg3MjI3ODkxNjI=