code: def test_assemble():
      """DemistoRequestAssembler - assemble"""
      alert = get_alert(context=SAMPLE_CONTEXT)
      alert.created = datetime(2019, 1, 1)
  
      output = MagicMock(spec=DemistoOutput)
      alert_publication = compose_alert(alert, output, "asdf")
  
      request = DemistoRequestAssembler.assemble(
          alert, alert_publication
      )
  
      assert_equal(request.incident_name, "cb_binarystore_file_added")
      assert_equal(request.incident_type, "Unclassified")
      assert_equal(request.severity, 0)
      assert_equal(request.owner, "StreamAlert")
      assert_equal(request.labels, EXPECTED_LABELS_FOR_SAMPLE_ALERT)
      assert_equal(
          request.details,
          "Info about this rule and what actions to take",
      )
      assert_equal(request.custom_fields, {})
      assert_equal(request.create_investigation, True)
  
file_path: streamalert/tests/unit/streamalert/alert_processor/outputs/test_demisto.py
imports: from collections import OrderedDict
  from datetime import datetime
  from mock import patch, Mock, MagicMock
  from nose.tools import assert_is_instance, assert_true, assert_false, assert_equal
  from streamalert.alert_processor.helpers import compose_alert
  from streamalert.alert_processor.outputs.demisto import DemistoOutput, DemistoRequestAssembler
  from streamalert.alert_processor.outputs.output_base import OutputRequestFailure
  from tests.unit.streamalert.alert_processor.helpers import get_alert
label_desc: Use image node_id 1 for calling a global function with example usage: test_assemble() without return types