+ protected function check_output_contains_lang_string($identifier, $component = '', $a = null) {
+ $this->render();
+ $string = get_string($identifier, $component, $a);
+ $this->assertContains($string, $this->currentoutput,
+ 'Expected string ' . $string . ' not found in ' . $this->currentoutput);
+ }
+