### Question:
CucumberPerf { public int getMaxThreads() { return maxThreads; } CucumberPerf(Class<?> clazz);  CucumberPerf(Class<?> clazz, PerfRuntimeOptions options);  CucumberPerf(PerfRuntimeOptions options);  CucumberPerf(String[] args); void runThreads(); void printResult(); Duration convertRuntime(String time); LocalDateTime getEnd(LocalDateTime start, String time); long getMaxRan(); long getTotalRanCount(); LocalDateTime getStart(); LocalDateTime getEnd(); String getRunTime(); int getMaxThreads(); Plugins getPlugins();  }### Answer:
@Test public void testGetMaxThreads() { CucumberPerf cp = new CucumberPerf(options1.class); try { cp.runThreads(); } catch (Throwable e) { fail("Error:"+e.getMessage()); } assertEquals(cp.getMaxThreads(),3); }