Container container = new Container("root", new Component[] {
environment, application }, new ProvidedInterface[0],
new RequiredInterface[0]);
-
Scope scope = container.start();
assertTrue(container.isSealed());
AssertionUtils.assertEquals(new String[] { "start.environment",
new ProvidedInterface[] { new DefaultProvidedInterface(
"float", Float.class) },
new DefaultRequiredInterface[0]);
+ system.validate();
} catch (SystemAssemblyException e) {
return;
}