function testLocalFileCacheFilePath() { $image = new WP_Thumb(); $image->setFilePath(WP_CONTENT_DIR . 'foo.jpg'); $this->assertFalse(strpos($image->getCacheFilePath(), '//')); }