setNakedValue() public method

public setNakedValue ( string value ) : void
value string
return void
        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() );
        }
Esempio n. 2
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());
        }