public void HavingCellWithNoPadding_WhenCalculatingPaddingRight_ThenPaddingRightIs1()
        {
            ContentCell contentCell = new ContentCell();

            int actual = contentCell.CalculatePaddingRight();

            Assert.That(actual, Is.EqualTo(1));
        }
        public void HavingCellWithPaddingRight5_WhenCalculatingPaddingRight_ThenPaddingRightIs5()
        {
            ContentCell contentCell = new ContentCell
            {
                PaddingRight = 5
            };

            int actual = contentCell.CalculatePaddingRight();

            Assert.That(actual, Is.EqualTo(5));
        }
        public void HavingRowWithPaddingRight5_WhenCalculatingPaddingRight_ThenPaddingRightIs5()
        {
            ContentCell contentCell = new ContentCell();
            ContentRow  contentRow  = new ContentRow
            {
                CellPaddingRight = 5
            };

            contentRow.AddCell(contentCell);

            int actual = contentCell.CalculatePaddingRight();

            Assert.That(actual, Is.EqualTo(5));
        }
        public void HavingDataGridWithPaddingRight5_WhenCalculatingPaddingRight_ThenPaddingRightIs5()
        {
            ContentCell contentCell = new ContentCell();

            ContentRow contentRow = new ContentRow();

            contentRow.AddCell(contentCell);

            DataGrid dataGrid = new DataGrid
            {
                CellPaddingRight = 5
            };

            dataGrid.Rows.Add(contentRow);

            int actual = contentCell.CalculatePaddingRight();

            Assert.That(actual, Is.EqualTo(5));
        }