예제 #1
0
 public void TestInitialize()
 {
     this.repositoryAccessors = new Mock <IRepositoryAccessors>();
     this.memoryCache         = new FakeMemoryCache();
     this.botOptions          = new Mock <IOptions <BotSettings> >();
     this.httpAccessors       = FakeHttpContext.GetFakeHttpAccessorsForMustBeProjectCreatorPolicy();
     this.mustBeProjectCreatorPolicyHandler = new MustBeProjectCreatorPolicyHandler(this.memoryCache, this.repositoryAccessors.Object, this.botOptions.Object, this.httpAccessors);
 }