O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Verifying Collection Conditions with CollectionAssert

The following is the list of collection assertions that enable you to verify the contents of collections:

Image AllItemsAreInstancesOfTypeVerifies that all items in a collection are, or inherit from, a specified type.

Image AllItemsAreNotNullVerifies that no item in the collection is null.

Image AllItemsAreUniqueVerifies that a collection is a set; each item occurs only once.

AreEqual and AreNotEqualVerifies ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required