public void Ctor_Test() { DependencyPack pack = new DependencyPack(); IServiceCollection services = new ServiceCollection(); services = pack.AddServices(services); }
public void Ignore_Test() { IServiceCollection services = new ServiceCollection(); DependencyPack pack = new DependencyPack(); services = pack.AddServices(services); services.ShouldContain(m => m.ServiceType == typeof(ITestContract)); services.ShouldNotContain(m => m.ServiceType == typeof(IIgnoreContract)); }