public void ConstructsAndBuilds() { var mopts = Mock.Of <Options>(); var mconf = Mock.Of <IConfigurationRoot>(); var di = new DIContainerBuilder(); Assert.NotNull(di.Build(mopts, mconf)); }
public void Resolve_TypesFromContainerBuilderShouldBeResolvedCorrectly() { var container = new DIContainerBuilder().Build(); var type = container.Resolve <IRepository <ExpertDetails> >(); }
public void Resolve_TypesFromContainerBuilderShouldBeResolvedCorrectly() { var container = new DIContainerBuilder().Build(); var type = container.Resolve<IRepository<ExpertDetails>>(); }