MDL-42862 behat: update deprecated_message api
MDL-42862 behat: update deprecated_message api

Deprecated message api now accepts a $throwexception param that if set to true always throws an exception

dilawar/moodle