public void It_should_support_customized_route_to_resource_mapping() { var resourceAssembly = typeof(SwaggerConfig).Assembly; _swaggerUiConfig.CustomRoute("index.html", resourceAssembly, "Swashbuckle.Dummy.SwaggerExtensions.myIndex.html"); var content = GetAsString("http://tempuri.org/swagger/ui/index.html"); Assert.IsTrue(content.Contains("My Index"), "Custom javascripts not included"); }