### Question:
SimpleOptionNameMap implements OptionNameMap<V> { @Override public void putAll( Iterable<String> keys, V newValue ) { for ( String each : keys ) map.put( each, newValue ); }  @Override boolean contains( String key ); @Override V get( String key ); @Override void put( String key, V newValue ); @Override void putAll( Iterable<String> keys, V newValue ); @Override void remove( String key ); @Override Map<String, V> toJavaUtilMap();  }### Answer:
@Test public void putAll() { SimpleOptionNameMap<Integer> map = new SimpleOptionNameMap<>(); List<String> keys = asList( KEY, KEY2 ); map.putAll( keys, VALUE ); assertEquals( VALUE, map.get( KEY ) ); assertEquals( VALUE, map.get( KEY2 ) ); }