public function setUpExecute() { $this->setUpPassValidation(); $this->setupPassThemeInUseCheck(); $this->setupPassChildThemeCheck(); $this->setupPassDependencyCheck(); $this->cache->expects($this->once())->method('clean'); $this->themeUninstaller->expects($this->once())->method('uninstallRegistry')->with($this->isInstanceOf('Symfony\\Component\\Console\\Output\\OutputInterface'), $this->anything()); $this->themeUninstaller->expects($this->once())->method('uninstallCode')->with($this->isInstanceOf('Symfony\\Component\\Console\\Output\\OutputInterface'), $this->anything()); }