def METHOD_NAME(self):
    """
    Test MQTT backend get_topic method
    """
    from_user = _create_user('Bob')
    to_user = _create_user('Alice')
    instance = _create_message(from_user, to_user, 'I love oov')
    mqtt = MQTTBackend(options={'HOST': 'localhost'})
    expected = (
        "/{topic_root}/{target_name}/{target_id}/messages/publish".format(
            topic_root='onadata', target_name='user',
            target_id=to_user.id))
    self.assertEqual(expected, mqtt.get_topic(instance))