CommandParser extends Parser<T> { @Override protected void clear() { names.clear(); } CommandParser(Environment<T> environment);   }
@Test void clear() { parser.names.put("name", new AbstractMap.SimpleEntry<>(null, null)); parser.clear(); assertTrue(parser.names.isEmpty()); }