public void DownloadOrganisations() { var proxy = new EventorWebService("apikey", string.Empty); var response = proxy.GetAllOrganisations(); Assert.IsNotNull(response); }
public void DownloadEvents() { var proxy = new EventorWebService("apikey", string.Empty); var events = proxy.GetEvents(new DateTime(2011, 01, 01), new DateTime(2012, 01, 01)); Assert.IsNotNull(events); }
public OrgRepository(EventorWebService webService, OrgParser parser) { orgs = parser.Parse(webService.GetAllOrganisations()); }