Index: Migration/Scripts/test/Migration.Scripts.Data.Test/UpgradeScriptTest.cs =================================================================== diff -u -r1fe151fcfd0dce8fa2c1d93243cae90eee991e70 -r85ff91388190d242a5bd74e110b2c5f8b177bff3 --- Migration/Scripts/test/Migration.Scripts.Data.Test/UpgradeScriptTest.cs (.../UpgradeScriptTest.cs) (revision 1fe151fcfd0dce8fa2c1d93243cae90eee991e70) +++ Migration/Scripts/test/Migration.Scripts.Data.Test/UpgradeScriptTest.cs (.../UpgradeScriptTest.cs) (revision 85ff91388190d242a5bd74e110b2c5f8b177bff3) @@ -84,7 +84,8 @@ TestDelegate call = () => upgradeScript.Upgrade(sourceFilePath, "Filepath.ext"); // Assert - Assert.Throws(call); + ArgumentException exception = Assert.Throws(call); + Assert.AreEqual("sourceLocation", exception.ParamName); } [Test] @@ -102,7 +103,8 @@ TestDelegate call = () => upgradeScript.Upgrade("Filepath.ext", targetFilePath); // Assert - Assert.Throws(call); + ArgumentException exception = Assert.Throws(call); + Assert.AreEqual("targetLocation", exception.ParamName); } } } \ No newline at end of file