'Creates the test course structure and a few components to \'duplicate\'.'

def setUp(self):

    super(TestDuplicateItem, self).setUp()
    resp = self.create_xblock(parent_usage_key=self.usage_key, category='chapter')
    self.chapter_usage_key = self.response_usage_key(resp)
    resp = self.create_xblock(parent_usage_key=self.chapter_usage_key, category='sequential')
    self.seq_usage_key = self.response_usage_key(resp)
    resp = self.create_xblock(parent_usage_key=self.seq_usage_key, category='vertical')
    self.vert_usage_key = self.response_usage_key(resp)
    resp = self.create_xblock(parent_usage_key=self.vert_usage_key, category='problem', boilerplate='multiplechoice.yaml')
    self.problem_usage_key = self.response_usage_key(resp)
    resp = self.create_xblock(parent_usage_key=self.vert_usage_key, category='html')
    self.html_usage_key = self.response_usage_key(resp)
    self.create_xblock(parent_usage_key=self.chapter_usage_key, category='sequential2')
