def METHOD_NAME(self):
    with realized(self.b):
        if self.b.can_filter_text():
            self.assertEqual(self.b.get_filter_text(), u"")
            self.assertTrue(
                isinstance(self.b.get_filter_text(), str))
            self.b.filter_text(u"foo")
            self.assertEqual(self.b.get_filter_text(), u"foo")
            self.assertTrue(
                isinstance(self.b.get_filter_text(), str))