MDL-40935 phpunit: Remove assertLegacyEventName() since get_legacy_eventname() is public now