@Test(expected = ApplicationContextException.class) public void testMainFail() throws Exception { String[] args = {}; app.main(args); }
public static void main(String[] args) throws Exception { SpringApplication application = new SpringApplication(IntegrationBridgeApplication.class); application.addListeners(new BootstrapApplicationListener()); application.addListeners(new ApplicationReadyListener()); application.run(args); }
IntegrationBridgeApplication { public static void main(String[] args) throws Exception { SpringApplication application = new SpringApplication(IntegrationBridgeApplication.class); application.addListeners(new BootstrapApplicationListener()); application.addListeners(new ApplicationReadyListener()); application.run(args); } }
IntegrationBridgeApplication { public static void main(String[] args) throws Exception { SpringApplication application = new SpringApplication(IntegrationBridgeApplication.class); application.addListeners(new BootstrapApplicationListener()); application.addListeners(new ApplicationReadyListener()); application.run(args); }  }
IntegrationBridgeApplication { public static void main(String[] args) throws Exception { SpringApplication application = new SpringApplication(IntegrationBridgeApplication.class); application.addListeners(new BootstrapApplicationListener()); application.addListeners(new ApplicationReadyListener()); application.run(args); }  static void main(String[] args); }
IntegrationBridgeApplication { public static void main(String[] args) throws Exception { SpringApplication application = new SpringApplication(IntegrationBridgeApplication.class); application.addListeners(new BootstrapApplicationListener()); application.addListeners(new ApplicationReadyListener()); application.run(args); }  static void main(String[] args);  }