Inheritance: extends AbstractGenerator, implements Codeception\Lib\Generator\GeneratorInterface, use trait Codeception\Lib\Generator\Shared\Classname, use trait Codeception\Util\Shared\Namespaces
 public function execute(InputInterface $input, OutputInterface $output)
 {
     $suite = $input->getArgument('suite');
     $class = $input->getArgument('class');
     $config = $this->getSuiteConfig($suite, $input->getOption('config'));
     $path = $this->buildPath($config['path'], $class);
     $filename = $this->completeSuffix($this->getClassName($class), 'Test');
     $filename = $path . $filename;
     $gen = new WPUnitGenerator($config, $class);
     $res = $this->save($filename, $gen->produce());
     if (!$res) {
         $output->writeln("<error>Test {$filename} already exists</error>");
         exit;
     }
     $output->writeln("<info>Test was created in {$filename}</info>");
 }