public void ApiProjectsUseAllowedContexts() { var apiAssemblies = AssembliesFixture.GetApiAssemblies(); foreach (var apiAssembly in apiAssemblies) { apiAssembly.AssertContextNameIsAllowed(PackageNamingConstants.BoundedContexts); } }
public void ApiProjectsUseAllowedContexts() { var apiAssemblies = AssembliesFixture.GetApiAssemblies(); foreach (var apiAssembly in apiAssemblies) { var allowedNames = new List <string>(); allowedNames.AddRange(PackageNamingConstants.BoundedContexts); allowedNames.AddRange(PackageNamingConstants.ApiServices); apiAssembly.AssertContextNameIsAllowed(allowedNames); } }