@Test
public void testComplexGetter()
{

  TestPojo testPojo = new TestPojo(1);
  final Class<?> testPojoClass = testPojo.getClass();
  GetterInt<Object> getterInt = createGetterInt(testPojoClass, "{$}.getIntVal() + {$}.intField");
  assertEquals(testPojo.getIntVal() + testPojo.intField, getterInt.get(testPojo));
}