def METHOD_NAME(self):
    editor = multi_line_text_editor(auto_set=False, enter_set=True)
    self.assertIsInstance(editor, traitsui.api.TextEditor)
    self.assertTrue(editor.multi_line)
    self.assertFalse(editor.auto_set)
    self.assertTrue(editor.enter_set)