示例#1
0
 public void Initialize()
 {
     services           = UnitTestDIManager.ConfigureServices();
     mockManager        = services.GetService <MoqManager>();
     simpleManager      = services.GetService <ISimpleManager>();
     mockRequestParam   = new Dictionary <string, StringValues>();
     simpleHttpFunction = new SimpleHttpFunction(simpleManager);
     person             = new Person {
         Name = "Ivy"
     };
     log = new Mock <ILogger>();
 }
示例#2
0
 public void Initialize()
 {
     services      = UnitTestDIManager.ConfigureServices();
     simpleManager = services.GetService <ISimpleManager>();
 }