Exemplo n.º 1
0
        public void DesignMode_Set_GetReturnsExpected()
        {
            var component = new SubComponent();

            Assert.False(component.GetDesignMode());

            var site = new MockSite {
                DesignMode = true
            };

            component.Site = site;
            Assert.True(component.GetDesignMode());
        }