Exemplo n.º 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")
     };
 }
Exemplo n.º 2
0
 public LeadsControllerTests()
 {
     _service    = new Mock <ILeadsService>();
     _logger     = new Mock <ILogger <LeadsController> >();
     _controller = new LeadsController(_service.Object, _logger.Object);
 }
Exemplo n.º 3
0
 public void TestSetup()
 {
     leadsController = new LeadsController();
 }