public void TestMethod2() { List <GoodsInfo> goodsInfoList = goodsInfoDal.GetAll(); goodsInfo = goodsInfoList[0]; goodsInfo.description = "so hard!!!How can we go?"; bool result = goodsInfoDal.Update(goodsInfo); Assert.AreEqual(true, result); }