def METHOD_NAME(self):
    self.entities = self.generate_data(
        Entity,
        3,
        entities_out=[],
        entities_in=[],
        instance_casting=[],
        project_id=self.project.id,
        entity_type_id=self.asset_type.id,
    )
    self.asset.entities_out = self.entities
    self.asset.save()
    assets = self.get("data/assets/%s/assets" % self.asset.id)
    self.assertEqual(len(assets), 3)
    self.assertTrue(
        assets[0]["id"] in [str(entity.id) for entity in self.entities]
    )