}
@SuppressWarnings("deprecation")
@Test public void test_Compartment_initDefaults()
{
Compartment c = new Compartment(2,4);
c.setId( "A");
c.initDefaults();
assertTrue(c.getId().equals( "A"));
assertTrue( c.getName().equals("") == true );
assertTrue( c.getUnits().equals("") == true );
assertTrue( c.getOutside().equals("") == true );
assertTrue( c.getSpatialDimensions() == 3d );
// assertTrue( c.getVolume() == 1.0 ); // There is no default for the volume/size in L2 !!
assertTrue( Double.isNaN(c.getVolume()));
assertTrue( c.getConstant() == true );
assertEquals( true, c.isSetId() );
assertEquals( false, c.isSetName() );
assertEquals( false, c.isSetSize() );
assertEquals( false, c.isSetVolume() );
assertEquals( false, c.isSetUnits() );
assertEquals( false, c.isSetOutside() );
c = null;
}