class_docstr: RegisterInput tests
class_docstr_tok: ["RegisterInput","tests"]
docstr: RegisterInput - Setup
docstr_tok: ["RegisterInput","-","Setup"]
code: def setup(self):
      """RegisterInput - Setup"""
      # pylint: disable=attribute-defined-outside-init
      self._service = "foobar"
  
      @RegisterInput
      class Test:
          """Fake test class to register"""
  
          def __init__(self, *args, **kwargs):
              pass
  
          @classmethod
          def service(cls):
              return self._service
  
      self._class = Test
  
file_path: streamalert/tests/unit/streamalert/classifier/payload/test_payload_base.py
imports: import json
  from mock import patch
  from nose.tools import assert_equal
  from streamalert.classifier.payload.payload_base import RegisterInput, StreamPayload
label_desc: Use image node_id 1 for calling the TestRegisterInput obj's underlying member method code with example usage: obj.setup() and returns: self