def METHOD_NAME(self):
    qfont = TraitsFont(
        "Comic Sans", 18, QFont.Weight.Bold, False
    )
    qfont.setStyleHint(QFont.StyleHint.Cursive)
    qfont.setStyle(QFont.Style.StyleOblique)
    qfont.setUnderline(True)
    obj = FontExample(font=qfont)
    self.assertIsInstance(obj.font, TraitsFont)
    self.assert_qfont_equal(obj.font, qfont)