public void query_get_districts()
 {
     var clever = new Clever(DemoToken);
     var results = clever.GetDistricts();
     Assert.That(results,Is.Not.Null);
     Assert.That(results.data.Count, Is.EqualTo(1));
 }
 public void query_get_School_by_id_include_students()
 {
     var clever = new Clever(DemoToken);
     var results = clever.GetSchoolById(SchoolId, new ApiParam("include", "students"));
     Assert.That(results, Is.Not.Null);
     Assert.That(results.data.students, Is.Not.Null);
 }
 public void query_get_Teacher_by_id_include_school()
 {
     var clever = new Clever(DemoToken);
     var results = clever.GetTeacherById(TeacherId, new ApiParam("include", "school"));
     Assert.That(results, Is.Not.Null);
     Assert.That(results.data.school, Is.Not.Null);
 }
 public void query_get_district_by_id_include_schools()
 {
     var clever = new Clever(DemoToken);
     var results = clever.GetDistrictById(DistrictId, new ApiParam("include","schools"));
     Assert.That(results, Is.Not.Null);
     Assert.That(results.data.schools, Is.Not.Null);
     Assert.That(results.data.schools.data.Count, Is.EqualTo(3));
 }
 public void query_get_School_by_id_include_teachers_students_district()
 {
     var clever = new Clever(DemoToken);
     var results = clever.GetSchoolById(SchoolId, new ApiParam("include", "teachers,students,district"));
     Assert.That(results, Is.Not.Null);
     Assert.That(results.data.teachers, Is.Not.Null);
     Assert.That(results.data.students, Is.Not.Null);
     Assert.That(results.data.district, Is.Not.Null);
 }
 public void query_get_School_students()
 {
     var clever = new Clever(DemoToken);
     var results = clever.GetSchoolStudents(SchoolId);
     Assert.That(results, Is.Not.Null);
 }
 public void query_get_School_by_id()
 {
     var clever = new Clever(DemoToken);
     var results = clever.GetSchoolById(SchoolId);
     Assert.That(results, Is.Not.Null);
 }
 public void query_get_schools()
 {
     var clever = new Clever(DemoToken);
     var results = clever.GetSchools();
     Assert.That(results, Is.Not.Null);
 }
 public void query_get_district_studetns()
 {
     var clever = new Clever(DemoToken);
     var results = clever.GetDistrictTeachers(DistrictId);
     Assert.That(results, Is.Not.Null);
 }
 public void query_get_district_by_id()
 {
     var clever = new Clever(DemoToken);
     var results = clever.GetDistrictById(DistrictId);
     Assert.That(results, Is.Not.Null);
 }
 public void query_get_Teacher_by_id()
 {
     var clever = new Clever(DemoToken);
     var results = clever.GetTeacherById(TeacherId);
     Assert.That(results, Is.Not.Null);
 }