### Question:
PerfGroup { public int getMaxThreads() { return maxThreads; } PerfGroup(String keyword, String text,int threads, int count,DataTable slices);  PerfGroup(Group group); int getMaxThreads(); void setThreads(int threads); int getRunning(); String getKeyword(); String getText(); void incrementRunning(); void decrementRunning(); int getRan(); void incrementRan(); int getThreads(); int getCount(); DataTable getSlices(); Slice getSlice(); List<Feature> getFeatures(); void setFeatures(List<Feature> features);  }### Answer:
@Test public void testGetMaxThreads() { PerfRuntimeOptionsFactory optf = new PerfRuntimeOptionsFactory(options1.class); PerfRuntimeOptions opt = optf.create(); PlanParser parser = new PlanParser(UUID::randomUUID); Supplier<ClassLoader> classLoader = this.getClass()::getClassLoader; List<PerfPlan> res = new PathPlanSupplier(classLoader, opt.getPlanPaths(), parser).get(); List <PerfGroup> pg = buildGroups(res.get(0).getSaladPlan().getPlan().getChildren().get(0)); assertEquals(2,pg.get(0).getMaxThreads()); }