public void Execute_ReturnsInputExpression_WhenNotValidConstructorArgument()
        {
            _namePipelineNode = new NamePipelineNode(string.Empty, _keysWhereExistLocalization);
            Expression <Func <Product, bool> > input = product => product.ProductName.Contains(Name);

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

            areEquals.Should().BeTrue();
        }
        public void Execute_ReturnsInputExpression_WhenNotValidConstructorArgument()
        {
            _namePipelineNode = new NamePipelineNode(string.Empty);
            Expression <Func <GameRoot, bool> > input = root => root.Details.Id.Contains(Name);

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

            areEquals.Should().BeTrue();
        }
 public void Setup()
 {
     _namePipelineNode = new NamePipelineNode(Name, _keysWhereExistLocalization);
 }
 public void Setup()
 {
     _namePipelineNode = new NamePipelineNode(Name);
 }