public void SetUp()
 {
     this.resource = new BoardTestRequestResource
     {
         BoardId = "AB12"
     };
     this.BoardTestReports.GetBoardTestDetailsReport("AB12")
     .Returns(new ResultsModel {
         ReportTitle = new NameModel("name")
     });
     this.result = this.Sut.GetBoardTestDetailsReport(this.resource.BoardId);
 }
示例#2
0
 public void SetUp()
 {
     this.resource = new BoardTestRequestResource
     {
         FromDate = 1.May(2020).ToString("o"),
         ToDate   = 31.May(2020).ToString("o"),
         BoardId  = "AB12"
     };
     this.BoardTestReports.GetBoardTestReport(1.May(2020), 31.May(2020), "AB12")
     .Returns(new ResultsModel {
         ReportTitle = new NameModel("name")
     });
     this.result = this.Sut.GetBoardTestReport(
         this.resource.FromDate,
         this.resource.ToDate,
         this.resource.BoardId);
 }