joomla/joomla-platform — pull request #511 by ianmacl (2011-11-12 04:42:46+00:00)
Title: Some minor changes to improve exceptions and fix unit test issues with PHPUnit 3.6

1. PHPUnit 3.6 doesn't like you to expect generic exceptions. This issue is addressed by using exceptions that are a bit more specific.

2. There is a JString unit test that somehow passes but is wrong. This fails on PHPUnit 3.6 without the enclosed fix. Very curious.