@Test
public void testSimpleNoArgNamedObjectModel() {

	NamedObjectModel model = new NamedObjectModel("CustomObject", "org.jbpm.runtime.manager.impl.deploy.testobject.SimpleCustomObject");
	assertEquals("CustomObject", model.getName());
	ObjectModelResolver resolver = new ReflectionObjectModelResolver();
	
	Object result = resolver.getInstance(model, this.getClass().getClassLoader(), new HashMap<String, Object>());
	assertNotNull(result);
	assertTrue(result instanceof SimpleCustomObject);
	assertEquals("default", ((SimpleCustomObject) result).getName());
}