public void Should_Resolve_All_Service_Dependency() { Collection.AddSingleton(typeof(ITransientService), typeof(TransientService)); Collection.AddSingleton(typeof(ITransientService), typeof(TransientService1)); var engine = new CoreEngine(Collection); engine.ConfigureServices(); var requiredService = engine.ResolveAll <ITransientService>(); Assert.Equal(2, requiredService.Count()); }