assertEquals(987654321, complex.lng());
assertEquals(123, complex.integer());
assertEquals(true, complex.bool());
assertEquals(Long.class, complex.clazz());
assertEquals("Yes", complex.annotation().value());
assertEquals(new String[]{"Test", "123"}, complex.array());
assertEquals(MyEnum.TWO, complex.enumVal());
assertArrays(new int[]{1, 2, 3}, complex.primitiveArray());
}
public void testComplexWithPropertyReplacement() throws Exception