public void Test_UserEmailAddressSpecification_SatisfyEntityFrom() { var specification = new UserEmailAddressSpecification("*****@*****.**"); var result = specification.SatisfyEntityFrom(this.Values); Assert.AreEqual("*****@*****.**", result.EmailAddress); }
public void Test_UserEmailAddressSpecification_SatisfyEntitiesFrom() { var specification = new UserEmailAddressSpecification("*****@*****.**"); var results = specification.SatisfyEntitiesFrom(this.Values); Assert.AreEqual(1, results.Count()); }