public void DependenciesConfigurationRegister() { var dependencies = new DependenciesConfiguration(); dependencies.Register <IService, Service1>(); dependencies.Register <AbstractService, Service2>(); Assert.Equal(2, dependencies.Count()); }
public void AsSelf() { var dependencies = new DependenciesConfiguration(); dependencies.Register <ServiceImpl1, ServiceImpl1>(); Assert.AreEqual(1, dependencies.Count()); }