public void Create_Null()
 {
     try
     {
         FeatureSwitch.Create(null);
         Assert.Fail("An ArgumentNullException was expected.");
     }
     catch (System.ArgumentNullException) { }
 }
        public void EndToEnd_True()
        {
            string xml = @"<?xml version=""1.0"" encoding=""utf-8""?>

<Features xmlns=""https://www.kcl-data.com"">
    <Feature Key=""Login"" Enabled=""true""/>
</Features>";

            System.IO.MemoryStream stream = new System.IO.MemoryStream(System.Text.Encoding.Default.GetBytes(xml));

            IFeatureSwitch fs = FeatureSwitch.Create(stream);

            Assert.IsTrue(fs["Login"]);
        }