private function executeFileExecutor(string $sourcePath, string $targetPath, string $filePath): void
    {
        try {
            $name       = pathinfo($filePath)['filename'] . 'Test';
            $targetPath = str_replace($sourcePath, $targetPath, $filePath);
            $targetPath = preg_replace('/(.php|.phtml)/', 'Test.php', $targetPath);
            // Execute file executor
            $this->fileExecutor->invoke($filePath, $targetPath, $name);
        } catch (Exception $exception) {
            $this->exceptionCatcher->catch($exception, $filePath);
        }
    }