add(new ResetDevelopmentCommand('dev', __DIR__ . '/../../')); self::assertTrue($application->has('kimai:reset:dev')); $command = $application->find('kimai:reset:dev'); self::assertInstanceOf(ResetDevelopmentCommand::class, $command); } public function testCommandNameIsNotEnabledInProd(): void { $sut = new ResetDevelopmentCommand('prod', __DIR__ . '/../../'); self::assertFalse($sut->isEnabled()); } }