public void CssClassDoesNotContainCssTheme() { foreach(var theme in Enum.GetValues(typeof(TabCssTheme))) { var wrapper = new TabContainerWrapper(); wrapper.CssTheme = (TabCssTheme)theme; var testCssClass = "test-class"; wrapper.CssClass = testCssClass; var layout = wrapper.RenderAttributes(); var classValue = GetClassAttribute(layout); Assert.AreEqual(testCssClass, classValue); } }
public void CssClassDoesNotContainCssTheme() { foreach (var theme in Enum.GetValues(typeof(TabCssTheme))) { var wrapper = new TabContainerWrapper(); wrapper.CssTheme = (TabCssTheme)theme; var testCssClass = "test-class"; wrapper.CssClass = testCssClass; var layout = wrapper.RenderAttributes(); var classValue = GetClassAttribute(layout); Assert.AreEqual(testCssClass, classValue); } }