Index: DamClients/DamUI/trunk/src/Dam/Tests/Importers/LocationPropertyImporterTest.cs =================================================================== diff -u -r2200 -r2206 --- DamClients/DamUI/trunk/src/Dam/Tests/Importers/LocationPropertyImporterTest.cs (.../LocationPropertyImporterTest.cs) (revision 2200) +++ DamClients/DamUI/trunk/src/Dam/Tests/Importers/LocationPropertyImporterTest.cs (.../LocationPropertyImporterTest.cs) (revision 2206) @@ -695,9 +695,8 @@ [Test] - [ExpectedException(typeof(NotSupportedException))] [Category("Integration")] - public void RegisterAttribute_AttributeNotSupported_Throws() + public void RegisterAttribute_AttributeNotSupported_GivesMessage() { using (var location = new Location { XRd = 10, YRd = 10, TrafficLoad = 0 }) { @@ -709,6 +708,7 @@ importer.DataFileLocation = DirectoryWithDataShapeFiles; importer.RegisterAttributeMapping("someattributeid", "test", TestShapeFile); + Assert.AreEqual(1, importer.ImproperAttributeMessages.Count); } }