public void ToNextBlockNumber_InIndexOfList_CurrentBlockMoveToNextOneInList()
        {
            //Assign
            ViewModel = new BlockConditionsWindowViewModel();
            string actual;
            string expect;

            //Act
            expect = Convert.ToString(int.Parse(ViewModel.CurrentblockConditionModel.BlockNo) + 1);
            ViewModel.AddNewBlockConditionInList();
            ViewModel.ToNextBlockNumber();
            actual = ViewModel.CurrentblockConditionModel.BlockNo;
            //Assert
            Assert.AreEqual(expect, actual);
        }
        public void ToPreviousBlockNumber_InRangeOfIndex_MoveToPreviousBlockNumber()
        {
            //Assign
            ViewModel = new BlockConditionsWindowViewModel();
            string actual;
            string expected;

            //Act
            ViewModel.AddNewBlockConditionInList();
            ViewModel.CurrentblockConditionModel = ViewModel.BlockConditionModelList[1];
            ViewModel.ToPreviousBlockNumber();
            actual   = ViewModel.CurrentblockConditionModel.BlockNo;
            expected = ViewModel.BlockConditionModelList[0].BlockNo;
            //Assert
            Assert.AreEqual(expected, actual);
        }