assertThat(model.getEnumeration(), is(ENUM.A));
}
@Test
public void testListAsParameterWithImplementedClass_shouldWork() throws Exception {
TestModel2 model = service.getModel(TestModel2.class, "testoidimpl");
List<String> testList = model.getList();
assertThat(testList.size(), is(3));
assertThat(testList.get(0), is("blub"));
assertThat(testList.get(1), is("blab"));
assertThat(testList.get(2), is("blob"));
List<String> temp = new ArrayList<String>();
temp.add("test1");
temp.add("test2");
temp.add("test3");
model.setList(temp);
testList = model.getList();
assertThat(testList.size(), is(3));
assertThat(testList.get(0), is("test1"));
assertThat(testList.get(1), is("test2"));
assertThat(testList.get(2), is("test3"));