def METHOD_NAME(self):
    db_token = Token(self.serial1, tokentype="tan")
    db_token.save()
    token = TanTokenClass(db_token)
    token.update({})
    self.assertEqual(token.token.serial, self.serial1)
    self.assertEqual(token.token.tokentype, "tan")
    self.assertEqual(token.type, "tan")
    class_prefix = token.get_class_prefix()
    self.assertEqual(class_prefix, "PITN")
    self.assertEqual(token.get_class_type(), "tan")