Example #1
0
        public static void GetAllCells___Should_return_all_rows_in_order___When_only_footer_rows_present()
        {
            // Arrange
            var footerRowsResult = TreeTableExtensionsTest.GetFooterRowsForTesting();

            var tableRows = new TableRows(footerRows: footerRowsResult.Item1);

            var expected = footerRowsResult.Item2;

            // Act
            var actual = tableRows.GetAllCells();

            // Assert
            actual.AsTest().Must().BeEqualTo(expected);
        }