@Test
public void testComplexStaticObjectModel() {

	ObjectModel model = new ObjectModel("String.valueOf(10).substring(1)");
	
	ObjectModelResolver resolver = new MVELObjectModelResolver();
	
	Object result = resolver.getInstance(model, this.getClass().getClassLoader(), new HashMap<String, Object>());
	assertNotNull(result);
	assertTrue(result instanceof String);
	assertEquals("0", ((String) result));
}