def METHOD_NAME(self):
    db_token = Token(self.serial1, tokentype="motp")
    db_token.save()
    token = MotpTokenClass(db_token)
    token.update({"otpkey": "909a4d4ba980b2c6",
                  "motppin": self.motppin,
                  "pin": self.otppin})
    self.assertTrue(token.token.serial == self.serial1, token)
    self.assertTrue(token.token.tokentype == "motp", token.token.tokentype)
    self.assertTrue(token.type == "motp", token)
    class_prefix = token.get_class_prefix()
    self.assertTrue(class_prefix == "PIMO", class_prefix)
    self.assertTrue(token.get_class_type() == "motp", token)