DmrModel extends DmrModelValue implements Model { @Override public ModelList setEmptyList() { return (ModelList) asValue(this.value.setEmptyList()); } DmrModel(ModelNode value); @Override ModelString set(String value); @Override ModelNumber set(int value); @Override ModelNumber set(long value); @Override ModelNumber set(double value); @Override ModelNumber set(BigInteger value); @Override ModelNumber set(BigDecimal value); @Override ModelBoolean set(boolean value); @Override ModelObject setEmptyObject(); @Override ModelList setEmptyList(); @Override ModelReference set(PathAddress value);  }
@Test public void testList() { assertTrue(newModel().setEmptyList().isDefined()); assertEquals(ModelValue.ModelValueType.LIST, newModel().setEmptyList().getValueType()); }