public void GroupWithSingleElementFilterArray() { var filter = new Filter <Person>(); filter.By("Birth.Country", Operation.IsEmpty, null, (object)null, Connector.And); var andExpression = GroupBuilder.GetFilter(GroupBuilder.Group <Person>(Common.Connector.And, filter)); var orExpression = GroupBuilder.GetFilter(GroupBuilder.Group <Person>(Common.Connector.Or, filter)); var people1 = People.Where(andExpression); var solution = People.Where(filter); Assert.That(people1, Is.EquivalentTo(solution)); var people2 = People.Where(orExpression); Assert.That(people2, Is.EquivalentTo(solution)); }