Пример #1
0
        public void SetUp()
        {
            fakeXmlFeed = new FakeXmlFeed();
            Api         = Substitute.For <IXmlHelper>();
            Feed        = Substitute.For <IXmlFeed>();
            xmlHelper   = new XmlHelper(fakeXmlFeed);
            model       = new MainModel(xmlHelper);

            Global.ShareSize = 200;
        }
Пример #2
0
 public XmlHelper(IXmlFeed feed)
 {
     this.feed = feed;
     log       = new Log();
 }