public void Test_UserIdentifiersSpecification_SatisfyEntityFrom() { var specification = new UserIdentifiersSpecification(new List<int> { 1 }); var result = specification.SatisfyEntityFrom(this.Values); Assert.AreEqual(1, result.Id); }
public void Test_UserIdentifiersSpecification_SatisfyEntitiesFrom() { var specification = new UserIdentifiersSpecification(new List<int> { 1, 2 }); var results = specification.SatisfyEntitiesFrom(this.Values); Assert.AreEqual(2, results.Count()); }