public static TestDriver newInjectedApplicationInstance(Class<? extends Application> appClass,
                                                            Module... guiceModules) {
        return newInstance(newOsgiFramework(), null, false,
                           newModuleList(null, appClass, guiceModules));
    }
<p>Creates a new TestDriver with an injected {@link Application}.</p>

@param appClass     The Application class to inject.
@param guiceModules The Guice {@link Module Modules} to install prior to startup.
@return The created TestDriver.
jdisc_core/src/main/java/com/yahoo/jdisc/test/TestDriver.java