private void Setup()
        {
            var webRequest = MockRepository.GenerateStub<IXmlWebRequest>();
            webRequest.Stub(x => x.Get(Arg<string>.Is.Anything))
                .Return(FeedData.Data);

            _fcoRepository = new FCORepository(webRequest);
        }
Ejemplo n.º 2
0
        private void Setup()
        {
            var webRequest = MockRepository.GenerateStub <IXmlWebRequest>();

            webRequest.Stub(x => x.Get(Arg <string> .Is.Anything))
            .Return(FeedData.Data);

            _fcoRepository = new FCORepository(webRequest);
        }
Ejemplo n.º 3
0
        public void Can_hit_yahoo_pipes()
        {
            var items = new FCORepository(new XmlWebRequest()).Get();

            items.ToList().ForEach(Console.WriteLine);
        }
 public void Can_hit_yahoo_pipes()
 {
     var items = new FCORepository(new XmlWebRequest()).Get();
     items.ToList().ForEach(Console.WriteLine);
 }