It would be nice if this pattern could be used: ```java ApplicationContext ctx = SpringApplication.from(MyApp::main).run(args); ``` We already have some capture logic for our test support so it might be possible to support this.