public void HaveInnerTable_ModelHaveStops_TrueReturned(BusStopCollection model)
        {
            // Arrange
            var viewModel = new BusStopCollectionViewModel();

            // Act
            viewModel.Model = model;
            var haveInnerTable = viewModel.HaveInnerTable();

            // Assert
            haveInnerTable.ShouldBeTrue();
        }
        public void GetRow_ModelValuesReturned()
        {
            // Arrange
            var viewModel = new BusStopCollectionViewModel();

            // Act
            viewModel.Model = ViewModelTestData.BusStopCollection;
            var rowValues = viewModel.GetRow();

            // Assert
            rowValues[0].Should().Be(viewModel.Model.Id.ToString());
            rowValues[1].Should().Be(viewModel.Model.Title);
            rowValues[2].Should().Be(viewModel.Model.SimpleBusStops.Count.ToString());
        }
        public void GetColumns_ColumnNamesAreNotEmpty()
        {
            // Arrange
            var viewModel = new BusStopCollectionViewModel();

            // Act
            var columns = viewModel.GetColumns();

            // Assert
            foreach (var colName in columns)
            {
                colName.Should().NotBeNullOrEmpty();
            }
        }