public function tearDown()
 {
     mr_fixture_manager::tearDown();
 }
 public function test_tearDown()
 {
     $course = new mr_fixture_course(array('shortname' => 'simpletest', 'idnumber' => 'simpletest'));
     $manager = new mr_fixture_manager();
     $manager->set('course', $course);
     $course2 = new mr_fixture_course(array('shortname' => 'simpletest2', 'idnumber' => 'simpletest2'));
     $manager2 = new mr_fixture_manager();
     $manager2->set('course', $course2);
     $course3 = new mr_fixture_course(array('shortname' => 'simpletest3', 'idnumber' => 'simpletest3'));
     mr_fixture_manager::instance()->set('course', $course3);
     mr_fixture_manager::tearDown();
     $this->assertFalse($course->exists());
     $this->assertFalse($course2->exists());
     $this->assertFalse($course3->exists());
 }