def METHOD_NAME(self):
    # this is a smoke test
    obj = KivaFontView()
    ui = obj.edit_traits(
        view=View(
            Item(
                "font",
                editor=KivaFontEditor(sample_text="sample text"),
                style='readonly',
            ),
            resizable=True,
        )
    )
    try:
        editor = ui.info.font
        component = editor.component
        self.assertEqual(editor.str_value, "sample text")
        self.assertEqual(component.text, "sample text")
    finally:
        ui.dispose()