public function testClearMocksDir() { $this->responseLogger->clearMocksDir(); $this->assertTrue(!is_file($this->workspace . DIRECTORY_SEPARATOR . 'file')); $this->assertTrue(!is_dir($this->workspace . DIRECTORY_SEPARATOR . 'dir')); $this->assertTrue(is_dir($this->workspace)); }
/** * {@inheritdoc} */ protected function execute(InputInterface $input, OutputInterface $output) { $this->responseLogger->clearMocksDir(); return 0; }