def METHOD_NAME(mocker, reporter, input_report_type, expected_exception):
    # Arrange
    with contextlib.suppress(AttributeError):
        mock_reporting = mocker.patch.object(reporter, f"reporting_{input_report_type}")
    # Act
    with expected_exception:
        reporter.print_formatted_data([], [], input_report_type, True)
        # Assert
        if input_report_type == "garbarge":
            pytest.fail("Test did not match any of the expected assertions!")
        else:
            mock_reporting.assert_called_with([], [], True)