Registers translator as the app's translator:main for the current test, the way an app does in an instance initializer. Call it once, before render; each test starts without one.
translator
translator:main
render
Registers
translatoras the app'stranslator:mainfor the current test, the way an app does in an instance initializer. Call it once, beforerender; each test starts without one.