示例#1
0
        public async Task TestGetByID()
        {
            try
            {
                Election result = await electionService.GetByID(Context, DefaultElectionId);

                Assert.IsNotNull(result, "Expect to find the default Election");
            }
            catch (Exception ex)
            {
                Assert.IsNull(ex, "Exception Thrown: " + ex.Message);
            }
        }