diff --git a/tests/unit/CommandProviderTest.php b/tests/unit/CommandProviderTest.php new file mode 100644 index 00000000..10c0f605 --- /dev/null +++ b/tests/unit/CommandProviderTest.php @@ -0,0 +1,25 @@ +setConfig(new Config()); + + $commandProvider = new CommandProvider(); + + $commands = $commandProvider->getCommands(); + $this->assertCount(2, $commands); + $this->assertInstanceOf(BaseCommand::class, $commands[0]); + $this->assertInstanceOf(BaseCommand::class, $commands[1]); + } +}