Inheritance: WaveUnitConfigElement
 public void testSetKey()
 {
     WaveUnitConfigElementStub e = new WaveUnitConfigElementStub();
     e.setNakedKey( null );
     e.setKey( "Bar" );
     Assert.AreEqual( "Bar", e.getNakedKey() );
 }
Beispiel #2
0
        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() );
        }
Beispiel #4
0
        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());
        }