Pick a @Fork annotation with parameters you would add to the benchmark to have 2 warmup forks and 3 execution forks.
@Benchmark
public String testMethod() {
Map<Integer, String> map = new HashMap<>();
map.put(1, "A");
return map.get(1);
}