Arc.Unit.Tests.Domain.Specifications.SpecificationTests.Should_build_predicate_from_lambda C# (CSharp) Method

Should_build_predicate_from_lambda() private method

private Should_build_predicate_from_lambda ( ) : void
return void
        public void Should_build_predicate_from_lambda()
        {
            Expression<Func<string, bool>> expected = x => string.IsNullOrEmpty(x);
            var target = new Specification<string>(expected);

            Assert.That(target.Predicate, Is.SameAs(expected));
        }