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); }