@Test
public void beanTypeContextStartedAfterInstantiation() throws Exception
{
muleContext.start();
ObjectFactory prototype = getPrototypeSpringObjectFactory();
ObjectFactory singleton = getSingletonSpringObjectFactory();
prototype.getInstance(muleContext);
singleton.getInstance(muleContext);
assertProxy(prototype.getObjectClass());
assertProxy(singleton.getObjectClass());
}