### Question:
LocalMap { public void reset() { parameters.clear(); variables.clear(); lookupMap.clear(); }  Local registerParameter(String name, Type type); Local registerVariable(String name, Type type); Local lookup(String name); List<Local> getParametersList(StackType stackType); List<Local> getVariablesList(StackType stackType); void reset();  }### Answer:
@Test void testReset() { var map = new LocalMap(); map.registerVariable("var0", PrimitiveType.INT); map.registerParameter("param0", PrimitiveType.INT); map.reset(); assertEquals(0, map.getVariablesList(StackType.INT).size()); assertEquals(0, map.getVariablesList(StackType.STRING).size()); assertEquals(0, map.getVariablesList(StackType.LONG).size()); }