public void GetTemplateFramework_NoSpecificFremework_ReturnsHybrid()
        {
            DummyPageTemplate pTemplate = new DummyPageTemplate();
            var framework = pTemplate.GetTemplateFramework();

            Assert.AreEqual(PageTemplateFramework.Hybrid, framework);
        }
示例#2
0
        public void GetTemplateFramework_NoSpecificFramework_ReturnsHybrid()
        {
            // Arrange
            var template = new DummyPageTemplate();

            // Act
            var framework = template.GetTemplateFramework();

            // Assert
            Assert.AreEqual(PageTemplateFramework.Hybrid, framework, "The framework of the template should be Hybrid.");
        }