public void Then_if_filepath_is_uri_exception_is_thrown() { Assert.Throws<AppSettingException>(() => { new AppSettings(@"file:////foo.txt"); }); }