示例#1
0
        public void RegisterRoutesTest()
        {
            RouteCollection routeCollection = new RouteCollection();

            securityPlugin.RegisterRoutes(routeCollection);

            Assert.AreEqual(3, routeCollection.Count);
        }
示例#2
0
        public void SecurityPluginRegisterRoutesTest()
        {
            SecurityPlugin  plugin          = new SecurityPlugin();
            RouteCollection routeCollection = new RouteCollection();

            plugin.RegisterRoutes(routeCollection);

            Assert.That(routeCollection.Count == 2);
        }
示例#3
0
        public void SecurityPluginRegisterRoutesTest()
        {
            SecurityPlugin plugin = new SecurityPlugin();
            RouteCollection routeCollection = new RouteCollection();

            plugin.RegisterRoutes(routeCollection);

            Assert.That(routeCollection.Count == 2);
        }