public void CountDistinctProperty_SetsCountDistinctProperty() { var configuration = new SqlGeneratorConfiguration(); var configurator = new SqlGeneratorConfigurator(configuration); configurator.CountDistinctProperty((TestEntityClass e) => e.TestIntegerProperty); Assert.That(configuration.DistinctCountPropertyExpression, Is.Not.Null); }