def METHOD_NAME(self, mock_output_results_to_db):
    """Tests _output_results() flattens results & writes them to db."""
    self.scanner._output_results(fasd.AUDIT_LOGGING_VIOLATIONS)
    mock_output_results_to_db.assert_called_once_with(
        self.scanner, fasd.FLATTENED_AUDIT_LOGGING_VIOLATIONS)