Test 1
Ensure there are no occurrences of message_current_user_is_involved() being used in core (does not include the function declaration).
Test 2
Add the attached test.php file to your wwwroot directory.
Visit this file via your web browser and ensure a meaningful coding exception is thrown.