@Test void testReset() { var generator = new LabelGenerator(); assertEquals(0, generator.generate("test").getId()); generator.reset(); assertEquals(0, generator.generate("test").getId()); }
public void reset() { counters.clear(); shared.set(0); }
LabelGenerator { public void reset() { counters.clear(); shared.set(0); } }
LabelGenerator { public void reset() { counters.clear(); shared.set(0); }  }
LabelGenerator { public void reset() { counters.clear(); shared.set(0); }  Label generate(String name); void reset(); }
LabelGenerator { public void reset() { counters.clear(); shared.set(0); }  Label generate(String name); void reset();  }