class_docstr: Tests for the anomalyzer.
class_docstr_tok: ["Tests","for","the","anomalyzer","."]
code: def setUp(self):
      self.sampleInput = (
          "Timestamp,Value\n"
          "datetime,int\n"
          "T,\n"
          "2011-09-04 2:00:00.0,1\n"
          "2011-09-04 2:05:00.0,2\n"
          "2011-09-04 2:10:00.0,3\n"
          "2011-09-04 2:15:00.0,4\n"
          "2011-09-04 2:20:00.0,5\n"
          "2011-09-04 2:25:00.0,6"
      )
  
file_path: nupic-legacy/tests/unit/nupic/data/generators/anomalyzer_test.py
imports: import csv
  from mock import MagicMock, patch
  from StringIO import StringIO
  import unittest2
  from nupic.data.file_record_stream import FileRecordStream
  from nupic.data.generators import anomalyzer
label_desc: Use image node_id 1 for calling the AnomalyzerTest obj's underlying member method code with example usage: obj.setUp() without return types