PHPUnit classes are now in namespaces
The migration is generally a straightforward class replacement (they are now sorted in namespace):
$ find . -type f -name '*.php' | xargs -n 1 gsed -i 's@PHPUnitFrameworkTestCase@PHPUnit\\Framework\\TestCase@g';
But for the notifications center, we could need to check the global state:
Furthermore, the best practice to test exceptions has been shifted from @expectedException annotations to expectEception() method.