DefaultListBackedModel implements ListBackedModel { @Override public MapBackedModel<?> createChildMap() { MapBackedModel child = new DefaultMapBackedModel(); addValue(child.getResult()); return child; }  @Override void addValue(Object value); @Override MapBackedModel<?> createChildMap(); @Override List<?> getResult(); @Override boolean isEmpty();  }
@Test public void createChildMap() { DefaultListBackedModel model = new DefaultListBackedModel(); model.createChildMap(); assertEquals(1, model.getResult().size()); assertTrue(model.getResult().get(0) instanceof LinkedHashMap); }