예제 #1
0
 public void Load_NotFound()
 {
     using (var src = new RssSubscriber(Invoker.Vanilla))
     {
         src.FileName = GetSource("NotFound.json");
         src.Load();
         Assert.That(src.Count, Is.EqualTo(0));
     }
 }
예제 #2
0
 public void Load_NotFound()
 {
     using (var src = new RssSubscriber {
         FileName = GetResultsWith("NotFound.json")
     })
     {
         src.Load();
         Assert.That(src.Count, Is.EqualTo(0));
     }
 }