@SuppressWarnings("unchecked")
public void testExtensionServices()
{
ExtensionLoader.getInstance().loadExtensionServices();
MockServletContext servletContext = new MockServletContext();
ContextFactory.initApplicationContext(servletContext);
Bean<MyExtension> extension = (Bean<MyExtension>)getManager().resolveByType(MyExtension.class, new CurrentLiteral()).iterator().next();
MyExtension ext = getManager().getInstance(extension);
System.out.println(ext.toString());