public void Routes_should_be_same_which_is_passed_in_constructor()
        {
            var routes = new RouteCollection();
            var registration = new RegisterRoutesBaseTestDouble(routes);

            Assert.Same(routes, registration.PublicRoutes);
        }
Esempio n. 2
0
        public void Should_be_able_to_register_routes()
        {
            var registration = new RegisterRoutesBaseTestDouble(new RouteCollection());

            registration.Execute();

            Assert.True(registration.Registered);
        }
Esempio n. 3
0
        public void Should_be_able_to_register_routes()
        {
            var registration = new RegisterRoutesBaseTestDouble(new RouteCollection());

            registration.Execute();

            Assert.True(registration.Registered);
        }