def METHOD_NAME() -> None:
    duration = 0.1
    method = "test_step_profiler"
    step_all = "all"
    context = "None"
    with StepProfiler(method=method, step=step_all):
        time.sleep(duration)
    metrics = parse_metrics(Prometheus().getLatestContent())
    check_histogram_metric(metrics=metrics, method=method, step=step_all, context=context, events=1, duration=duration)