public void Color_Initialization() { var colors = new Office2003ColorStub(); colors.InitColor(XPThemeType.Homestead); colors.InitColor(XPThemeType.Metallic); colors.InitColor(XPThemeType.NormalColor); }
public void Color_Initialization_With_Unknown_Theme() { var colors = new Office2003ColorStub(); Assert.Throws(typeof(IndexOutOfRangeException), () => colors.InitColor(XPThemeType.Unknown)); }