MDL-52060 phpunit: Improve get_message_processors reset