Ejemplo n.º 1
0
        public void Should_Apply_Filter_When_Args_Exist()
        {
            filter.Setup(f => f.Transform(It.IsAny<List<string>>(),
                                          It.IsAny<List<string>>())).Verifiable();

            fa = new FilterApplyer(new List<Filter>(){filter.Object});

            var input = new List<string> { "one", "two" };
            var args = new Dictionary<string, string> { { "u", "true" } };

            fa.Apply(input, args);

            filter.Verify();
        }