assertThat(tail.get(0).getKey(), is("test"));
}
@Test
public void testIfModelTailSettingWorks_shouldWork() throws Exception {
ModelWrapper wrapper = ModelWrapper.wrap(new TestModel());
List<OpenEngSBModelEntry> entries = new ArrayList<OpenEngSBModelEntry>();
entries.add(new OpenEngSBModelEntry("test", "test", String.class));
entries.add(new OpenEngSBModelEntry("test2", "test2", String.class));
entries.add(new OpenEngSBModelEntry("test3", "test3", String.class));
wrapper.setOpenEngSBModelTail(entries);
assertThat(wrapper.getOpenEngSBModelTail().size(), is(3));
}