docstr: AlertPublisherRepository - get_publisher_name() - Class
docstr_tok: ["AlertPublisherRepository","-","get_publisher_name","(",")","-","Class"]
code: def test_get_publisher_name_class():
      """AlertPublisherRepository - get_publisher_name() - Class"""
  
      name = AlertPublisherRepository.get_publisher_name(
          SamplePublisher1
      )
      assert_equal(
          name,
          "tests.unit.streamalert.shared.test_publisher.SamplePublisher1",
      )
  
imports: from mock import patch
  from nose.tools import assert_true, assert_equal, assert_false
  from streamalert.alert_processor.helpers import _assemble_alert_publisher_for_output
  from streamalert.shared.publisher import AlertPublisherRepository, AlertPublisher, CompositePublisher, DefaultPublisher, Register, WrappedFunctionPublisher
  from tests.unit.streamalert.alert_processor.helpers import get_alert
label_desc: Use image node_id 4 for calling the TestAlertPublisherRepository obj's underlying member method code with example usage: obj.test_get_publisher_name_class() without return types