BloggingSystem.IntegrationTests.UsersControllerIntegrationTests.TestInitialize C# (CSharp) Method

TestInitialize() private method

private TestInitialize ( ) : void
return void
        public void TestInitialize()
        {
            // Needed to load the assemlies of Services project
            UsersController usersController = new UsersController();

            transactionScope = new TransactionScope();

            var routes = new List<Route>()
            {
                new Route(
                    "UsersApi",
                    "api/users/{action}",
                    new { controller = "users" })
            };

            this.httpServer = new InMemoryHttpServer("http://localhost/", routes);
        }