public void RegisterArea()
 {
     HelpPageAreaRegistration area = new HelpPageAreaRegistration();
     AreaRegistrationContext context = new AreaRegistrationContext("HelpPage", RouteTable.Routes);
     area.RegisterArea(context);
     Assert.NotEmpty(context.Routes);
     Route route = Assert.IsType<Route>(context.Routes[0]);
     Assert.Equal("Help/{action}/{apiId}", route.Url);
     Assert.Equal("Help", route.Defaults["controller"]);
     Assert.Equal("Index", route.Defaults["action"]);
 }
 public void AreaName()
 {
     HelpPageAreaRegistration area = new HelpPageAreaRegistration();
     Assert.Equal("HelpPage", area.AreaName);
 }