Beispiel #1
0
 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;
 }
Beispiel #2
0
 public void ConfigSaveUnSuccess()
 {
     VR.DAL.Model.Configuration result = _ConfigurationService.Object.Insert(nullconfig);
     Assert.IsNull(result);
 }