public void AnagramLoadWords_GivenNonExistentFile_ShouldThrowFileNotFoundException() { string NonExistingPath = @"C:\Users\Silvio Arzeno\Desktop\HelloWorld!"; Assert.Throws(typeof(FileNotFoundException), delegate { test.LoadWords(NonExistingPath); }); }