Exception assertions changed to PHPUnit 3.7+ standards