public void ShouldCreateAProperPolygonWithTheCorrectlyParameters() { var newPolygon = new Polygon(new List<Ring> { this._validRing1, this._validRing2 }); newPolygon.Should() .Not.Be.Null() .And.Be.OfType<Polygon>(); newPolygon.Rings.Should().Not.Be.Null(); newPolygon.Rings.Count.Should().Be(2); newPolygon.Rings[0].Should().Not.Be.Null(); newPolygon.Rings[0].Equals(this._validRing1).Should().Be(true); newPolygon.Rings[1].Should().Not.Be.Null(); newPolygon.Rings[1].Equals(this._validRing2).Should().Be(true); }