コード例 #1
0
 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));
 }
コード例 #2
0
 /**
  * {@inheritdoc}
  */
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $this->responseLogger->clearMocksDir();
     return 0;
 }