Add @expectedExceptionMessage and @expectedExceptionCode in test/ExceptionTest.php