Dev2.Core.Tests.DataListViewModelTests.AddRowIfAllCellsHaveData_AllDataListRowsContainingData_Expected_RowAdded C# (CSharp) Method

AddRowIfAllCellsHaveData_AllDataListRowsContainingData_Expected_RowAdded() private method

        public void AddRowIfAllCellsHaveData_AllDataListRowsContainingData_Expected_RowAdded()
        {
            Setup();
            int beforeCount = _dataListViewModel.DataList.Count;
            _dataListViewModel.AddBlankRow(_dataListViewModel.ScalarCollection[0]);
            int afterCount = _dataListViewModel.DataList.Count;
            Assert.IsTrue(afterCount > beforeCount);
        }
DataListViewModelTests