Как бы я протестировал метод регистрации на swaggerConfig?
это мой класс swaggerconfig
[assembly: PreApplicationStartMethod(typeof(SwaggerConfig),"Register")]
namespace Mongeral.Integrador.API.App_Start
{
public class SwaggerConfig
{
public static void Register()
{
var thisAssembly = typeof(SwaggerConfig).Assembly;
GlobalConfiguration.Configuration
.EnableSwagger(c => c.SingleApiVersion("v1", "GestorContabil.API"))
.EnableSwaggerUi();
}
}