コード例 #1
0
        public void Execute_ReturnsInputExpression_WhenNotValidConstructorArgument()
        {
            _excludeKeysPipelineNode = new ExcludeKeysPipelineNode(Enumerable.Empty <string>());
            Expression <Func <Product, bool> > input = product => product.ProductName.Contains(string.Empty);

            var expression = _excludeKeysPipelineNode.Execute(input);
            var areEquals  = Lambda.Eq(input, expression);

            areEquals.Should().BeTrue();
        }
コード例 #2
0
 public void Setup()
 {
     _excludeKeysPipelineNode = new ExcludeKeysPipelineNode(_keys);
 }