public void FeatureCollectionContainsTest() { FeatureCollection collection = new FeatureCollection(this.identifier, this.mockAttributes, this.mockFeatures.Take(1)); collection.Contains(this.mockFeatures[0]).ShouldBeTrue(); collection.Contains(this.mockFeatures[1]).ShouldBeFalse(); Should.Throw <ArgumentNullException>(() => collection.Contains(null)); }