public InternalizedDependencyCompatibilityTests()
 {
     _bannedAssemblies = new List<Assembly>();
     var excludedAssemblies = new[]
     {
         "Owin"
     };
     foreach (var referencedAssembly in typeof(Constants).Assembly.GetReferencedAssemblies())
     {
         var asm = Assembly.Load(referencedAssembly);
         if (!asm.GlobalAssemblyCache && !excludedAssemblies.Any(x => string.Equals(referencedAssembly.Name, x, StringComparison.OrdinalIgnoreCase)))
         {
             _bannedAssemblies.Add(asm);
         }
     }
     
 }
 public InternalizedDependencyCompatibilityTests()
 {
     _bannedAssemblies = new List<Assembly>();
     var excludedAssemblies = new[]
     {
         "Owin",
         "Microsoft.Owin",
         "Autofac",
         "System.Web.Http" //Microsoft.AspNet.WebApi.Core.5.2.3
     };
     foreach (var referencedAssembly in typeof(Constants).Assembly.GetReferencedAssemblies())
     {
         var asm = Assembly.Load(referencedAssembly);
         if (!asm.GlobalAssemblyCache && !excludedAssemblies.Any(x => string.Equals(referencedAssembly.Name, x, StringComparison.OrdinalIgnoreCase)))
         {
             _bannedAssemblies.Add(asm);
         }
     }
     
 }