public function testRmDirPrompt() { $path = '/tmp/mypfwtestdir/recursive'; $del_path = '/tmp/mypfwtestdir'; // test recursive delete if (self::TEST_PROMPT) { mkdir($path, 0755, true); $this->assertTrue(file_exists($path)); Pfw_Script_FileSystem::rmdir($del_path, true, array('prompt' => true)); $this->assertTrue(!file_exists($del_path)); } }