SimpleTest conversion
From MoodleDocs
Overview
The migration is pretty straightforward:
- create new test file in `xxx/tests/yyy_test.php`
- copy contents of the old test file
- replace
extends UnitTestCasewithextends basic_testcaseandextends UnitTestCaseUsingDatabasewithextends advanced_testcase - move constructor code to setUp
- fix setUp(), tearDown()
- fix assert syntax