Exemplo n.º 1
0
        public void Using_spec()
        {
            var spec = new NotEmptySpecification()
                       .And(new StartsWithSpecification("T"));

            var result = spec.IsSatisfied("Tahir");

            Assert.True(result);
        }