private void ExecuteConditionalStringFlowTransform(ConditionalStringFlowTransform transform, IList <object> targetValues, IList <object> inputValues, IList <object> expectedValues)
        {
            IList <object> result = transform.TransformValuesWithLoopback(inputValues, targetValues);

            if (result.Count == 0)
            {
                Assert.Fail("Not results were returned");
            }

            if (result.Count != expectedValues.Count)
            {
                Assert.Fail("Incorrect number of results returned");
            }

            CollectionAssert.AreEquivalent(expectedValues.Cast <string>().ToArray(), result.Cast <string>().ToArray());
        }
        public void PerformanceTest()
        {
            ConditionalStringFlowTransform transform = new ConditionalStringFlowTransform();

            transform.ComparisonType = StringComparison.OrdinalIgnoreCase;

            UnitTestControl.PerformanceTest(() =>
            {
                CollectionAssert.AreEqual(new List <object>()
                {
                    "bob", "jim"
                },
                                          transform.TransformValuesWithLoopback(
                                              new List <object>()
                {
                    "Bob", "Jim"
                },
                                              new List <object>()
                {
                    "bob", "jim"
                }
                                              ).ToArray());
            }, 150000);
        }