Properties props = new Properties();
props.put("instance.name",compName);
ComponentInstance ci = null;
try {
ci = fact.createComponentInstance(props);
} catch (Exception e1) { fail(e1.getMessage()); }
assertEquals("Check instance name", compName, ci.getInstanceName());
// Get a FooService provider