public void ShouldThrowExceptionWhenHeightIsZero()
            {
                var area = new ImagemapArea()
                {
                    Width = 100
                };

                ExceptionAssert.Throws <InvalidOperationException>("The height should be at least 1.", () =>
                {
                    ImagemapArea.Convert(area);
                });
            }
            public void ShouldNotConvertInstanceToNewInstance()
            {
                var area = new ImagemapArea()
                {
                    X      = 1,
                    Y      = 2,
                    Width  = 100,
                    Height = 200
                };

                var imagemapArea = ImagemapArea.Convert(area);

                Assert.AreNotEqual(area, imagemapArea);
            }