def METHOD_NAME(self, mock_get):
    mock_get.return_value.text = dedent("""
        <?xml version="1.0"?><table_of_contents>
        <entry page="5" page_label="ii" name="Table of Contents"/>
        </table_of_contents>
    """).strip()
    location = self.toy_course_key.make_usage_key('course', 'course')
    course = self.store.get_item(location)
    assert len(course.textbooks) > 0