assertThat(sub.get(1).getValue(), is("DDDDD"));
}
@Test
public void testListOfComplexAsParameterWithProxiedInterface_shouldWork() throws Exception {
TestModel model = service.getModel(TestModel.class, "testoid");
List<SubModel> sub = model.getSubs();
assertThat(sub.get(0).getId(), is("AAAAA"));
assertThat(sub.get(0).getValue(), is("BBBBB"));
assertThat(sub.get(1).getId(), is("CCCCC"));
assertThat(sub.get(1).getValue(), is("DDDDD"));
}