Currently EventPublishingRunListener collects listeners attached to SpringApplication on construction and uses them for all early events. This means that it's not possible for an ApplicationStartingEvent listener to add additional listeners to the SpringApplication. We're going to need to support this for AOT testing.