public void Specify_static_factory_method()
        {
            var container = new Container();

            container.Register(Made.Of(() => Burger.Create()));

            Assert.IsNotNull(container.Resolve <Burger>());
        }
        public void Specify_for_factory_method_service_key_and_required_service_type_for_parameter()
        {
            var container = new Container();

            container.Register <BlueCheese>(serviceKey: "a");
            container.UseInstance("King");

            container.Register(Made.Of(() => Burger.Create("King", Arg.Of <BlueCheese>("a"))));

            var burger = container.Resolve <Burger>();

            Assert.AreEqual("King", burger.Name);
        }