def METHOD_NAME(self):
    taxonomy = {
        'Shapes': ['Square', 'Triangle'],
        'Colors': ['Red', 'Blue', 'Green']
    }
    self.create_vocabularies(self.sample_course, taxonomy)
    term = Term.objects.get(name='square')
    self.create_term_relationship(self.note1, term)
    term = Term.objects.get(name='triangle')
    self.create_term_relationship(self.note1, term)
    term = Term.objects.get(name='red')
    self.create_term_relationship(self.note1, term)
    res = SherdNoteResource()
    request = RequestFactory().get('')
    bundle = SherdNoteResource().build_bundle(
        obj=self.note1, request=request)
    values = res.render_related_terms(bundle)
    self.assertEquals(len(values), 2)
    self.assertEquals(values[0]['terms'][0]['display_name'], 'Square')
    self.assertEquals(values[0]['terms'][1]['display_name'], 'Triangle')
    self.assertEquals(values[1]['terms'][0]['display_name'], 'Red')