public void LoadUrl1() { try { LoadXSL("IDontExist.xsl", InputType.URI); } catch (System.IO.FileNotFoundException) { return; } _output.WriteLine("Exception not generated for non-existent file parameter name"); Assert.True(false); }