public void Test_AttachmentPendingGroupSpecification_SatisfyEntityFrom() { var specification = new AttachmentPendingGroupSpecification("Test"); var result = specification.SatisfyEntityFrom(this.Values); Assert.AreEqual("Test", result.Group); }
public void Test_AttachmentPendingGroupSpecification_SatisfyEntitiesFrom() { var specification = new AttachmentPendingGroupSpecification("Test"); var results = specification.SatisfyEntitiesFrom(this.Values); Assert.AreEqual(1, results.Count()); }