def METHOD_NAME(self):
    """Test events with no time difference between them are allocated
    correctly."""
    index = "test_index"
    sketch_id = 1
    analyzer = SessionizerSketchPlugin(index, sketch_id)
    analyzer.datastore.client = mock.Mock()
    datastore = analyzer.datastore
    _create_mock_event(datastore, 0, 2, time_diffs=[0])
    message = analyzer.run()
    self.assertEqual(
        message, "Sessionizing completed, number of session created: 1"
    )
    event1 = datastore.event_store["0"]
    self.assertEqual(event1["_source"]["session_id"], {"all_events": 1})
    event2 = datastore.event_store["100"]
    self.assertEqual(event2["_source"]["session_id"], {"all_events": 1})
    event3 = datastore.event_store["101"]
    self.assertEqual(event3["_source"]["session_id"], {"all_events": 1})