public void RegisterRoutesTest() { RouteCollection routeCollection = new RouteCollection(); securityPlugin.RegisterRoutes(routeCollection); Assert.AreEqual(3, routeCollection.Count); }
public void SecurityPluginRegisterRoutesTest() { SecurityPlugin plugin = new SecurityPlugin(); RouteCollection routeCollection = new RouteCollection(); plugin.RegisterRoutes(routeCollection); Assert.That(routeCollection.Count == 2); }