示例#1
0
 public void Setup()
 {
     _leadsController = new LeadsController();
     _testLead        = new Lead
     {
         LastName     = "Kuhn",
         FirstName    = "Richard",
         Phone        = "+37488402975",
         Project      = "Structural and Misc Steel (Fabrication)",
         PropertyType = "trailer",
         StartDate    = DateTime.Parse("2021-04-11")
     };
 }
示例#2
0
 public LeadsControllerTests()
 {
     _service    = new Mock <ILeadsService>();
     _logger     = new Mock <ILogger <LeadsController> >();
     _controller = new LeadsController(_service.Object, _logger.Object);
 }
示例#3
0
 public void TestSetup()
 {
     leadsController = new LeadsController();
 }