public void GetService_NotRegister_Should_Ok()
        {
            var locator = new SimpleServiceLocator();

            locator.GetService <MockC>().ShouldNull();
            locator.GetServices <IMock>().Count().ShouldEqual(0);
        }
        private IServiceLocator Create()
        {
            var resolver = new SimpleServiceLocator();

            resolver.Add <IMock, MockA>(() => new MockA());
            resolver.Add <IMock, MockB>(() => new MockB());
            resolver.Add(() => new MockC());

            //get IMock => A,B
            //get MockA => A
            return(resolver);
        }