public void DsfRandomActivity_GetForEachInputs_WhenHasExpression_ReturnsInputList()
        {
            //------------Setup for test--------------------------
            const string From   = "[[Numeric(1).num]]";
            const string To     = "Up";
            const string Result = "[[res]]";
            const string Length = "2";
            var          act    = new DsfRandomActivity {
                From = From, To = To, Length = Length, Result = Result
            };

            //------------Execute Test---------------------------
            var dsfForEachItems = act.GetForEachInputs();

            //------------Assert Results-------------------------
            Assert.AreEqual(3, dsfForEachItems.Count);
            Assert.AreEqual(To, dsfForEachItems[0].Name);
            Assert.AreEqual(To, dsfForEachItems[0].Value);
            Assert.AreEqual(From, dsfForEachItems[1].Name);
            Assert.AreEqual(From, dsfForEachItems[1].Value);
            Assert.AreEqual(Length, dsfForEachItems[2].Name);
            Assert.AreEqual(Length, dsfForEachItems[2].Value);
        }
        public void DsfRandomActivity_GetForEachInputs_WhenHasExpression_ReturnsInputList()
        {
            //------------Setup for test--------------------------
            const string From = "[[Numeric(1).num]]";
            const string To = "Up";
            const string Result = "[[res]]";
            const string Length = "2";
            var act = new DsfRandomActivity { From = From, To = To, Length = Length, Result = Result };

            //------------Execute Test---------------------------
            var dsfForEachItems = act.GetForEachInputs();
            //------------Assert Results-------------------------
            Assert.AreEqual(3, dsfForEachItems.Count);
            Assert.AreEqual(To, dsfForEachItems[0].Name);
            Assert.AreEqual(To, dsfForEachItems[0].Value);
            Assert.AreEqual(From, dsfForEachItems[1].Name);
            Assert.AreEqual(From, dsfForEachItems[1].Value);
            Assert.AreEqual(Length, dsfForEachItems[2].Name);
            Assert.AreEqual(Length, dsfForEachItems[2].Value);
        }