@Test public void testAppSetup() throws Exception { Env.reset(); App.args(new String[0], "profiles=mysql", "mode=production"); Conf.ROOT.set("id", "rpd123"); ClasspathUtil.appJar("/a/b.jar"); verify("app-setup", status().toString()); }