public void TestBorderStyleFactoryGetMethodWithNumbers()
        {
            IStyleFactory styleFactory = new BorderStyleFactory();
            IStyle gridBorderStyle;

            for (int i = 0; i < this.styleTypes.Length; i++)
            {
                gridBorderStyle = styleFactory.Get((BorderStyleType)i);
                Assert.AreEqual(this.styles[i].Type, gridBorderStyle.Type);
            }
        }
 public void TestBorderStyleFactoryWithInvalidParmaeter()
 {
     IStyleFactory styleFactory = new BorderStyleFactory();
     IStyle gridBorderStyle = styleFactory.Get(ConsoleKey.A);
 }
 public void TestBorderStyleFactoryWithInvalidNumber()
 {
     IStyleFactory styleFactory = new BorderStyleFactory();
     IStyle gridBorderStyle = styleFactory.Get((BorderStyleType)213);
 }