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