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