Example #1
0
        public void GetsSublayoutsCorrectly()
        {
            var sublayouts = FeatureToggles.GetAllSublayoutReplacements().ToArray();

            Assert.AreEqual(1, sublayouts.Length);
            Assert.IsTrue(sublayouts[0].Enabled);
            Assert.AreEqual(new Guid("{AD909EB2-A8E8-484C-BA23-E0CC137142A1}"), sublayouts[0].Original);
            Assert.AreEqual(new Guid("{E8A4B6F9-E787-45A1-AB8A-3883405C4436}"), sublayouts[0].New);
        }