def METHOD_NAME(self):
    """Test a session is created if it starts with SSH connection event."""
    index = "test_index"
    sketch_id = 1
    sessionizer = SSHSessionizerSketchPlugin(index, sketch_id)
    sessionizer.datastore.client = mock.Mock()
    datastore = sessionizer.datastore
    _create_mock_event(datastore, 0, 1, one_ssh_session_args)
    message = sessionizer.run()
    self.assertEqual(
        message, "Sessionizing completed, number of ssh_session sessions created: 1"
    )
    session_id = "1.1.1.1_1"
    event = datastore.event_store["0"]
    self.assertEqual(event["_source"]["session_id"]["ssh_session"], session_id)