setAppNamespace(); } /** * Tests that list of loaded plugins is shown with loaded command. */ public function testLoaded(): void { $expected = Plugin::loaded(); $this->exec('plugin loaded'); $this->assertExitCode(CommandInterface::CODE_SUCCESS); foreach ($expected as $value) { $this->assertOutputContains($value); } } }