@Test
public void testInjection() {
WebApplication webapp = new WebApplication(true);
webapp.registerMadvocComponents();
PetiteContainer madpc = (PetiteContainer) webapp.getComponent(WebApplication.MADVOC_CONTAINER_NAME);
MadvocConfig madvocConfig = new MadvocConfig();
String baseName = FooBean.class.getName();
madpc.defineParameter("foo", "1");
madpc.defineParameter(baseName + ".integer", "173");
madpc.defineParameter(baseName + ".string", "jodd");
madpc.defineParameter(baseName, "huh");
MadvocParamsInjector madvocParamsInjector = new MadvocParamsInjector(madvocConfig);
FooBean fooBean = new FooBean();