public void testSetKey() { WaveUnitConfigElementStub e = new WaveUnitConfigElementStub(); e.setNakedKey( null ); e.setKey( "Bar" ); Assert.AreEqual( "Bar", e.getNakedKey() ); }
public void testGetValue() { WaveUnitConfigElementStub e = new WaveUnitConfigElementStub(); e.setNakedValue( "Foo" ); Assert.AreEqual( "Foo", e.getValue() ); e.setValue( null ); Assert.NotNull( e.getValue() ); Assert.AreEqual( "", e.getValue() ); }