ApplicationIntrospector { static String appNameFromRuntime() { Class<?> main = mainClass(); String name = appNameFromJar(main); return name != null ? name : appNameFromClassName(main); }    }
@Test public void testAppNameFromRuntime() { String name = ApplicationIntrospector.appNameFromRuntime(); assertNotNull(name); assertNotEquals("Bootique", name); }