public void HaveConfiguredPropertyWhenPropertyNameIsUsed()
        {
            var configurator = new InjectionConfiguration <Foo>();

            configurator.FillProperty("Value", () => "lorem");

            configurator.IsInjectable("Value").Should().BeTrue();
        }
        public void NotHaveConfiguredProperty()
        {
            var configurator = new InjectionConfiguration <Foo>();

            configurator.FillProperty(p => p.Value, () => "lorem");

            configurator.IsInjectable("Id").Should().BeFalse();
        }
        public void ReturnConfiguredValueWhenPropertyNameIsUsed()
        {
            var configurator = new InjectionConfiguration <Foo>();

            configurator.FillProperty("Value", () => "lorem");

            var foo = new Foo()
            {
                Id = 1
            };

            configurator.GetValue("Value").Should().Be("lorem");
        }