names = moduleLoaderService.getModuleNames("screens");
assertArrayEquals(new String[] { "app1.AbstractScreen", "app1.MyScreen" },
names.toArray(new String[names.size()]));
// modules
Module module = moduleLoaderService.getModule(" screens ", "app1/myScreen");
assertNotNull(module);
assertEquals("app1.module.screens.MyScreen", module.getClass().getName());
assertEquals(null, module.getClass().getMethod("getName").invoke(module));
module = moduleLoaderService.getModule("control", "app1.myprod.MyControl");
assertNotNull(module);
assertEquals(DataBindingAdapter.class, module.getClass());
module = moduleLoaderService.getModule("action", "app1.myprod.MyAction");
assertNotNull(module);
assertEquals(ActionEventAdapter.class, module.getClass());
}