コード例 #1
0
ファイル: ConfigurationTest.cs プロジェクト: HiepPP/VR
 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;
 }
コード例 #2
0
ファイル: ConfigurationTest.cs プロジェクト: HiepPP/VR
 public void ConfigSaveUnSuccess()
 {
     VR.DAL.Model.Configuration result = _ConfigurationService.Object.Insert(nullconfig);
     Assert.IsNull(result);
 }