public void ShouldToRetreiveToggleWithToggleName_Case_Insensitive()
        {
            var configuration = Substitute.For<IInitProvider>();
            configuration.GetAll().Returns(new List<FeatureToggleDto>
            {
                new FeatureToggleDto
                {
                    Name = "MyToggle"
                }
            });
            var provider = new WebApiProvider(configuration);

            var feature = provider.Get("mytogGLE", caseSensitive:false);

            Check.That(feature).IsNotNull();
        }
        public void ShouldToRetreiveToggleWithToggleClass()
        {
            var configuration = Substitute.For<IInitProvider>();
            configuration.GetAll().Returns(new List<FeatureToggleDto>
            {
                new FeatureToggleDto
                {
                    Name = "MyToggle"
                }
            });
            var provider = new WebApiProvider(configuration);

            var feature = provider.Get(new MyToggle(provider));

            Check.That(feature).IsNotNull();
        }