public void MustRemoveRemoveLineTestStyle()
        {
            // Arrange
            GridLines gridLines = new GridLines();

            // Act
            GridLinesPropertyReader.ProcessGridLinesProperty(gridLines, "Color", "System.Drawing.Color.DarkGray");
            GridLinesPropertyReader.ProcessGridLinesProperty(gridLines, "Style", "C1.Win.C1TrueDBGrid.LineStyleEnum.Single");
            bool actualResult = GridLinesPropertyReader.MustRemoveLine(gridLines, "Style");

            // Assert
            Assert.IsTrue(actualResult);
        }
        public void ProcessGridLinesPropertyTestColor()
        {
            //Arrange
            GridLines gridLines = new GridLines();

            GridLinesPropertyReader.ProcessGridLinesProperty(gridLines, "Color", "System.Drawing.Color.Navy");
            string expectedResult = "System.Drawing.Color.Navy";
            //Act
            string actualResult = gridLines.Properties["Color"];

            //Assert
            Assert.AreEqual(expectedResult, actualResult);
        }
        public void ProcessGridLinesPropertyTestStyle()
        {
            //Arrange
            GridLines gridLines = new GridLines();

            GridLinesPropertyReader.ProcessGridLinesProperty(gridLines, "Style", "C1.Win.C1TrueDBGrid.LineStyleEnum.Double");
            string expectedResult = "Double";
            //Act
            string actualResult = gridLines.Properties["Style"];

            //Assert
            Assert.AreEqual(expectedResult, actualResult);
        }
        public void DontRemoveLineTestStyle3()
        {
            // Arrange
            GridLines gridLines = new GridLines();

            // Act
            GridLinesPropertyReader.ProcessGridLinesProperty(gridLines, "Color", "System.Drawing.Color.Yellow");
            GridLinesPropertyReader.ProcessGridLinesProperty(gridLines, "Style", "C1.Win.C1TrueDBGrid.LineStyleEnum.Double");
            bool actualResult = GridLinesPropertyReader.MustRemoveLine(gridLines, "Style");

            // Assert
            Assert.IsFalse(actualResult);
        }