def METHOD_NAME(self) -> None:
    """Tests run method."""
    self.analyzer.datastore.client = mock.Mock()
    datastore = self.analyzer.datastore
    _create_mock_events(datastore)
    expected_output = _create_analyzer_output_json()
    output = self.analyzer.run()
    self.assertDictEqual(json.loads(expected_output), json.loads(output))