public void Create() { _ConfigurationService = new Mock <ConfigurationService>(); config = new VR.DAL.Model.Configuration { WebsiteAddress = "www.vr.org.vn", TruckType = "txtLoaiPT", NetWeight = "txtTuTrongTK", MaxSeat = "txtSoCho", DateCheck = "txtNgayKD", AxleNo = "txtCdCsCtBx", WeightLimit = "txtTaiTrongGT", GrossWeight = "txtTrLgToanBoGT", TowedWeight = "txtTrLgMoocCP", GCNDate = "txtHanKDToi", GCNStamp = "txtSoTemGCN" }; nullconfig = null; }
public void ConfigSaveUnSuccess() { VR.DAL.Model.Configuration result = _ConfigurationService.Object.Insert(nullconfig); Assert.IsNull(result); }