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); } }