Add basic unit test to cover each public method in the Hooks class
These tests are just examples. The Hooks Class is very incomplete and many of the pathways need to be planned out and test written to handle them. These tests provide a good example of using PHPUnit and Mockery together to make the unit test able to run independently of MediaWiki.
Edited by Samuel Hilson