GetCollectionCount() public method

public GetCollectionCount ( ) : int
return int
        public void QuickVariableInput_Using_Case_Convert_Add_List_To_Collection_Overwrite_False_Expected_5()
        {
            DsfCaseConvertActivity activity = new DsfCaseConvertActivity();
            activity.ConvertCollection.Add(new CaseConvertTO("[[result1]]", "UPPER", "[[result1]]", 1));
            activity.ConvertCollection.Add(new CaseConvertTO("[[result2]]", "UPPER", "[[result2]]", 2));
            activity.ConvertCollection.Add(new CaseConvertTO("[[result3]]", "UPPER", "[[result3]]", 3));
            QuickVariableInputModel model = new QuickVariableInputModel(TestModelItemFactory.CreateModelItem(activity), activity);
            IList<string> listToAdd = new List<string>();
            listToAdd.Add("[[Add1]]");
            listToAdd.Add("[[Add2]]");

            model.AddListToCollection(listToAdd, false);

            int colCount = model.GetCollectionCount();

            Assert.AreEqual(5, colCount);
        }
        public void QuickVariableInput_Using_Case_Convert_Check_Row_Count_Expected_3()
        {
            DsfCaseConvertActivity activity = new DsfCaseConvertActivity();
            activity.ConvertCollection.Add(new CaseConvertTO("[[result1]]", "UPPER", "[[result1]]", 1));
            activity.ConvertCollection.Add(new CaseConvertTO("[[result2]]", "UPPER", "[[result2]]", 2));
            activity.ConvertCollection.Add(new CaseConvertTO("[[result3]]", "UPPER", "[[result3]]", 3));

            ModelItem modelItem = TestModelItemFactory.CreateModelItem(activity);

            QuickVariableInputModel model = new QuickVariableInputModel(TestModelItemFactory.CreateModelItem(activity), activity);
            int colCount = model.GetCollectionCount();

            Assert.AreEqual(3, colCount);
        }