use of com.yahoo.jdisc.test.NonWorkingOsgiFramework in project vespa by vespa-engine.
the class ApplicationLoaderTestCase method requireThatStartFailsWithoutApplication.
@Test
public void requireThatStartFailsWithoutApplication() throws Exception {
ApplicationLoader loader = new ApplicationLoader(new NonWorkingOsgiFramework(), Collections.<Module>emptyList());
try {
loader.init(null, false);
loader.start();
fail();
} catch (ConfigurationException e) {
}
}
Aggregations