public void QuantifiersTest() { QueryMethods.Any(new AdventureWorks()); QueryMethods.All(new AdventureWorks()); QueryMethods.ContainsPrimitive(new AdventureWorks()); #if NETFX try { QueryMethods.ContainsEntity(new AdventureWorks()); Assert.Fail(); } catch (NotSupportedException exception) { Trace.WriteLine(exception); } #else QueryMethods.ContainsEntity(new AdventureWorks()); #endif QueryMethods.AllNot(new AdventureWorks()); QueryMethods.NotAny(new AdventureWorks()); }