def METHOD_NAME(num_vms=2, benchmark='cluster_boot'):
  # Creates a fake BenchmarkSpec() that will be the response for calls to
  # perfkitbenchmarker.context.GetThreadBenchmarkSpec().
  config_spec = benchmark_config_spec.BenchmarkConfigSpec(
      benchmark, flag_values=FLAGS)
  config_spec.vm_groups = {'x': mock.Mock(vm_count=num_vms, static_vms=[])}
  bm_module = mock.MagicMock(BENCHMARK_NAME=benchmark)
  bm_spec = benchmark_spec.BenchmarkSpec(bm_module, config_spec, 'uid')
  bm_spec.uuid = _RUN_URI