def METHOD_NAME(
    self,
    m_run_interval_seconds,
    activity_ping_interval_value,
    config_value,
    expected_value,
):
    m_run_interval_seconds.return_value = config_value
    m_cfg = mock.MagicMock()
    type(
        m_cfg.machine_token_file
    ).activity_ping_interval = mock.PropertyMock(
        return_value=activity_ping_interval_value
    )
    metering_job = MeteringTimedJob(
        job_func=mock.MagicMock(),
        default_interval_seconds=mock.MagicMock(),
    )
    assert expected_value == metering_job.run_interval_seconds(m_cfg)