Exemplo n.º 1
0
			public void SetUp()
			{
				_route = new Route.Routing.Route("name", Guid.NewGuid(), "route");
				_httpRuntime = MockRepository.GenerateMock<IHttpRuntime>();
				_route.RestrictByUrlRelativePath("path1", CaseInsensitivePlainComparer.Instance, _httpRuntime);
				_route.RestrictByUrlRelativePaths(new[] { "path2", "path3" }, _httpRuntime);
			}