public void QueryOrder(List<PersonEntity> source, PersonFilter filter, PersonEntity expected, string message) { var result = Specification.Build(source, filter); result.Count().Should().Be(1); result.First().ShouldBeEquivalentTo(expected); }
public void QuerySimple(List<PersonEntity> source, PersonFilter filter, int recordCount, string message) { var result = Specification.Build(source, filter); result.Count().Should().Be(recordCount); }