public function setUp() { $this->con = 'tests'; $this->chainClass = 'Psc\\CMS\\UploadManager'; parent::setUp(); $this->manager = new UploadManager(NULL, $this->getDoctrinePackage(), UploadManager::createCache($this->dir = $this->getTestDirectory()->sub('tmp/'))); $this->dir->create()->wipe(); }