joomla/joomla-platform — pull request #451 by eddieajau (2011-10-21 00:39:53+00:00)
Title: Added JRules mock

Added a new mock for JRules in /tests/includes/mocks/JRulesMock.php. This has some pre-baked results to allow for dependancy testing in other classes.

Also improved code coverage of JRules by adding object test case to the constructor test, and added docblocks to the JRules and JRule test files.