public void PortfolioFeedConstructorTest() { Uri uriBase = null; // TODO: Initialize to an appropriate value IService iService = null; // TODO: Initialize to an appropriate value PortfolioFeed target = new PortfolioFeed(uriBase, iService); Assert.AreNotEqual(target, null); }
private PortfolioFeed Parse(string xml) { byte[] bytes = new UTF8Encoding().GetBytes(xml); PortfolioFeed feed = new PortfolioFeed(new Uri("http://finance.google.com/finance/feeds/default/portfolios"), new FinanceService("Test")); feed.Parse(new MemoryStream(bytes), AlternativeFormat.Atom); return feed; }