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:----ElsSCjgBlo4Od5x/7Oazp7O506TK7yIVTw/LgpbvOVhvcDqEoGP0FU8IfkrMqLUd0O/qArieELCSfWSrLzYoblMeaQXtoGkbUzBn8YVZOdj/wWq0SgRJS9IJkiDS4cMX1zoVKXJhf4yNZKlcIoUjJp7b7q2XhG2HkkjMDVBmBrLcl4Teu85BFUmhQ31gKnpZWVb9qcYE/vyBZrrtGUgUrj3G/ej/wp8VbSB4RNQ1ptETVE8xDid83Dx/ZQllLbQYCMlVAH5UaspCURnD1f1FVxwbqdfXSNfPKGbqbVEeHHKIjkvD0te1RQomq+4fnwVxs5T6gBIZF8Pxs1ti2NGOocwEILlaMSjwn1dKQI853bHtVlyKbKfzUyGAFu+X0t4jP/X89AJ29Hpm9pqbDqQTpSyHKuzTm5texpHCZ5xOEzBuhhR2OnvhAaPy7mLE4w/EfHXbL0s3L1DNDuK42rQJcTKVyqX3iqhmT0pxh3IYWRBmGQLSLdcH+dRlEcCFTpkgO2G3iXV6KXO/Ropt+lqlQ+HIMwX/QSidf6QgxiRzLoXhP4V9XMIwkxfIwGgZGfOSfr5wiLPtpb8LQalkPbm9U7Bbn3pCJlF/32PljrPWKLwGqf5h0VTp/+dLymsBd0fsDExbwhTC1yRYtUSlMIF+zuWzuw8daQMWQgeh3LEZrJo=----ATTACHMENT:----MTI5MTA4ODI3MTkyNDIzIDE3Njc5NjQzODYwOTUzMjAgNTQ4MDAzOTkwODExMTkw