示例#1
0
 public void TestValueWhenUpdatingBOValue()
 {
     _shape.ShapeName       = "TestShapeName";
     _mapper.BusinessObject = _shape;
     _shape.ShapeName       = "TestShapeName2";
     _mapper.UpdateControlValueFromBusinessObject();
     Assert.AreEqual("TestShapeName2", _textBox.Text, "Text property of textbox is not working.");
 }