### Question:
PerfGroup { public void setThreads(int threads) { this.threads = threads; } 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 testSetThreads() { List<Node> args = new ArrayList<Node>(); args.add(new Count(null,"Count","3")); args.add(new Runners(null,"Runners","1")); PerfGroup pg = new PerfGroup(new Group(null, "Group", "test.feature", args)); pg.setThreads(11); assertEquals(11,pg.getThreads()); }