application = new Application($kernel); $this->application->add(new CreateReleaseCommand(realpath(__DIR__ . '/../../'))); } public function testCommandName() { $command = $this->application->find('kimai:create-release'); self::assertInstanceOf(CreateReleaseCommand::class, $command); } }