public void PaintOverFigure_IsPaintedException(double squareSide, Colors actualColor, Colors newFirstColor, Colors newSecondColor)
        {
            PaperSquare actualPaperSquare = new PaperSquare(new List <double> {
                squareSide
            }, actualColor);

            actualPaperSquare.PaintOverFigure(newFirstColor);
            Assert.ThrowsException <IsPaintedException>(() => actualPaperSquare.PaintOverFigure(newSecondColor));
        }
        public void PaintOverFigure_PositiveTestResult(double squareSide, Colors actualColor, Colors newColor, Colors expectedColor)
        {
            PaperSquare actualPaperSquare = new PaperSquare(new List <double> {
                squareSide
            }, actualColor);

            actualPaperSquare.PaintOverFigure(newColor);
            Assert.AreEqual(expectedColor, actualPaperSquare.Color);
        }