diff --git a/src/Illuminate/Console/Scheduling/ScheduleTestCommand.php b/src/Illuminate/Console/Scheduling/ScheduleTestCommand.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Console/Scheduling/ScheduleTestCommand.php
+++ b/src/Illuminate/Console/Scheduling/ScheduleTestCommand.php
@@ -33,7 +33,7 @@ class ScheduleTestCommand extends Command
         $commandNames = [];
 
         foreach ($commands as $command) {
-            $commandNames[] = $command->command;
+            $commandNames[] = $command->command ?? $command->getSummaryForDisplay();
         }
 
         $index = array_search($this->choice('Which command would you like to run?', $commandNames), $commandNames);
Fix running schedule test on CallbackEvents (#<I>)