'Create 3 BasicModel instances.'

def setUp(self):

    items = [u'foo', u'bar', u'baz']
    for item in items:
        t = ForeignKeyTarget(name=item)
        t.save()
        ForeignKeySource(name=(u'source_' + item), target=t).save()
    self.objects = ForeignKeySource.objects
    self.data = [{u'id': obj.id, u'name': obj.name} for obj in self.objects.all()]
    self.view = FKInstanceView.as_view()
