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