/** * @covers ../../../src/Library/Helper/Directory::purge() */ public function test_purge() { $this->checkNoArg('purge'); \Library\Helper\File::touch(self::$tmp_file); $logs = array(); $this->assertTrue(\Library\Helper\Directory::purge(self::$tmp_dir, $logs)); $this->assertEmpty($logs); }