public function test_grade_warning_debug_off()
 {
     global $CFG;
     $this->resetAfterTest();
     $CFG->debugdisplay = 0;
     $actual = local::skipgradewarning("warning text");
     $this->assertNull($actual);
 }