code: def test_methods():
      for name in ("texts", "records", "download"):
          assert hasattr(DATASET, name)
          with pytest.raises(NotImplementedError):
              getattr(DATASET, name)()
  
imports: import collections
  import pytest
  from textacy import utils
  from textacy.datasets import base
label_desc: Use image node_id 4 for calling a global function with example usage: test_methods() without return types