application = new Application($kernel); $this->application->add(new ResetCommand()); } public function testCommandName() { $command = $this->application->find('kimai:reset-dev'); self::assertInstanceOf(ResetCommand::class, $command); } }