code: def setUp(cls):
      cls.categories, cls.documents = get_docs_categories()
      cls.parsed_docs = []
      for doc in cls.documents:
          cls.parsed_docs.append(whitespace_nlp(doc))
      cls.df = pd.DataFrame(
          {
              "category": cls.categories,
              "author": [
                  "a",
                  "a",
                  "c",
                  "c",
                  "c",
                  "c",
                  "d",
                  "d",
                  "e",
                  "e",
              ],
              "parsed": cls.parsed_docs,
              "document_lengths": [len(doc) for doc in cls.documents],
          }
      )
      cls.corpus = CorpusFromParsedDocuments(
          cls.df, "category", "parsed"
      ).build()
  
file_path: scattertext/scattertext/test/test_ParsedCorpus.py
imports: from unittest import TestCase
  import pandas
  from scattertext import whitespace_nlp, CorpusFromParsedDocuments
  from scattertext.test.test_corpusFromPandas import get_docs_categories
label_desc: Use image node_id 1 for calling the TestParsedCorpus obj's underlying member method code with example usage: obj.setUp(cls) without return types