public void RegisterBrowseSurveyResponsesRoute() { var routes = new RouteCollection(); var registrationArea = new SurveyAreaRegistration(); var areaRegistrationContext = new AreaRegistrationContext(registrationArea.AreaName, routes); registrationArea.RegisterArea(areaRegistrationContext); var route = routes.Cast <Route>().SingleOrDefault(r => string.Equals(r.Url, "survey/{tenant}/{surveySlug}/analyze/browse/{answerId}", System.StringComparison.OrdinalIgnoreCase) && string.Equals(r.Defaults["controller"] as string, "Surveys", System.StringComparison.OrdinalIgnoreCase) && string.Equals(r.Defaults["action"] as string, "BrowseResponses", System.StringComparison.OrdinalIgnoreCase) && string.Equals(r.Defaults["answerId"] as string, string.Empty, System.StringComparison.OrdinalIgnoreCase)); Assert.IsNotNull(route); }