Exemplo n.º 1
0
        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.");
        }
Exemplo n.º 2
0
 /// <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));
 }
Exemplo n.º 3
0
 public System.Collections.Generic.IEnumerable <Announcement> GetAnnouncements(string electionCycle)
 {
     return(AnnouncementsClient.GetAnnouncements(electionCycle));
 }