public void GetAnnouncementsTest() { string electionCycle = string.Empty; // TODO: Initialize to an appropriate value IEnumerable <Announcement> expected = null; // TODO: Initialize to an appropriate value IEnumerable <Announcement> actual; actual = AnnouncementsClient.GetAnnouncements(electionCycle); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void GetAnnouncementTest() { string id = string.Empty; // TODO: Initialize to an appropriate value Announcement expected = null; // TODO: Initialize to an appropriate value Announcement actual; actual = AnnouncementsClient.GetAnnouncement(id); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void GetFilingDateAnnouncementTest() { byte statementNumber = 0; // TODO: Initialize to an appropriate value string electionCycle = string.Empty; // TODO: Initialize to an appropriate value Announcement expected = null; // TODO: Initialize to an appropriate value Announcement actual; actual = AnnouncementsClient.GetFilingDateAnnouncement(statementNumber, electionCycle); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
/// <summary> /// Retrieves a filing date announcement by statement number and election cycle. /// </summary> /// <param name="statementNumber">The filing statement number to search for.</param> /// <param name="electionCycle">The election cycle in which to search.</param> /// <returns>The announcement matching the filing statement number and election cycle specified if found; otherwise, null.</returns> public Announcement GetFilingDateAnnouncement(byte statementNumber, string electionCycle) { return(AnnouncementsClient.GetFilingDateAnnouncement(statementNumber, electionCycle)); }
/// <summary> /// Retrieves an announcement by unique ID. /// </summary> /// <param name="id">The unique ID of the announcement to retrieve.</param> /// <returns>The announcement matching the ID specified if found; otherwise, null.</returns> public Announcement GetAnnouncement(string id) { return(AnnouncementsClient.GetAnnouncement(id)); }
/// <summary> /// Retrieves a collection of unexpired announcements filtered by election cycle. /// </summary> /// <param name="electionCycle">The election cycle to filter results by, or an empty string to retrieve announcements across all elections.</param> /// <returns>A collection of unexpired announcements filtered by the election cycle specified.</returns> /// <exception cref="ArgumentNullException"><paramref name="electionCycle"/> is null.</exception> public IEnumerable <Announcement> GetAnnouncements(string electionCycle) { return(AnnouncementsClient.GetAnnouncements(electionCycle)); }
public System.Collections.Generic.IEnumerable <Announcement> GetAnnouncements(string electionCycle) { return(AnnouncementsClient.GetAnnouncements(electionCycle)); }