コード例 #1
0
 public NewsSourcesControllerTests()
 {
     _server = TestServer.Create(app => OwinStartup.CoreConfiguration(app, PrepareContainer));
 }
コード例 #2
0
 public TopicsControllerTests()
 {
     _topicsRepositoryMock = Substitute.For <ITopicsRepository>();
     _server = TestServer.Create(app => OwinStartup.CoreConfiguration(app, PrepareContainer));
 }
コード例 #3
0
        public void TestSetUp()
        {
            var kernel = new StandardKernel();

            TestServer.Create(app => OwinStartup.CoreConfiguration(app, () => kernel));
        }