def METHOD_NAME(
    self, is_cfg_set, caplog_text, FakeConfig
):
    """Use the default run interval when config is absent or invalid."""
    cfg = FakeConfig()
    if is_cfg_set:
        setattr(cfg, "day_job_timer", -3)
    job = TimedJob("day_job", lambda: None, 14400)
    assert 14400 == job.run_interval_seconds(cfg)
    if is_cfg_set:
        assert (
            "Invalid value for day_job interval found in config."
            in caplog_text()
        )