exec([GenerateKeyCommand::NAME]); self::assertStringContainsString('[OK] Generated API key', $output); self::assertEquals(ExitCodes::EXIT_SUCCESS, $exitCode); } }