public void CopyToFeature_MapFeaturesEmpty_ThrowsArgumentException()
        {
            // Setup
            using (var writer = new TestShapeFileWriterBase())
            {
                // Call
                TestDelegate test = () => writer.CopyToFeature(new MapLineData("test"));

                // Assert
                TestHelper.AssertThrowsArgumentExceptionAndTestMessage <ArgumentException>(test, "Mapdata mag maar één feature bevatten.");
            }
        }
        public void CopyToFeature_MapDataNull_ThrowsArgumentNullException()
        {
            // Setup
            using (var writer = new TestShapeFileWriterBase())
            {
                // Call
                TestDelegate test = () => writer.CopyToFeature(null);

                // Assert
                var exception = Assert.Throws <ArgumentNullException>(test);
                Assert.AreEqual("featureBasedMapData", exception.ParamName);
            }
        }