def METHOD_NAME(mockconfig):
    @plugin.interval(5)
    @plugin.label('testjob')
    def handler(manager):
        """The job's docstring."""
        return 'tested'
    loader.clean_callable(handler, mockconfig)
    handler.plugin_name = 'testplugin'
    job = jobs.Job.from_callable(mockconfig, handler)
    assert len(job.next_times.items()) == 1
    assert 5 in job.next_times
    assert job.is_threaded()
    assert job.intervals == set([5])
    assert job.execute(None) == 'tested'
    assert job.get_job_label() == 'testjob'
    assert job.get_plugin_name() == 'testplugin'
    assert job.get_doc() == "The job's docstring."
    assert str(job) == '<Job testplugin.testjob [5s]>'