public void GetStudentReportCardsAsync_BasicTest() { //TODO: need student with report card data StudentDataService srv = new StudentDataService(); Task<JArray> task = srv.GetStudentReportCardsAsync(TestProperties.AccessToken, student4); task.Wait(); JArray result = task.Result; // make sure we have results Assert.IsTrue(result.HasValues); // get the first student in the result set JToken firstStudent = result.First; Debug.WriteLine(firstStudent.ToString()); // verify we got an id back JToken id = firstStudent.SelectToken("studentId", false); Assert.IsTrue(!string.IsNullOrEmpty(id.ToString())); }