add($command); $application->setDefaultCommand($command->getName(), true); return new CommandTester($application->get('pgrep')); } }