def METHOD_NAME(self):
    self.assertEqual(self.top.get_type(), "module")
    self.assertEqual(self.Mine.get_type(), "class")
    self.assertEqual(self.a_method.get_type(), "function")
    self.assertEqual(self.spam.get_type(), "function")
    self.assertEqual(self.internal.get_type(), "function")