DmrModel extends DmrModelValue implements Model { @Override public ModelObject setEmptyObject() { return (ModelObject) asValue(this.value.setEmptyObject()); } 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 testObject() { assertTrue(newModel().setEmptyObject().isDefined()); assertEquals(ModelValue.ModelValueType.OBJECT, newModel().setEmptyObject().getValueType()); }