SettingsMap { public final void clear () { settingsMap.clear(); } SettingsMap(); final void add(final OperationalTextKey textKey, final String textValue); final String get(final OperationalTextKey textKey); final String remove(final OperationalTextKey textKey); final void update(final OperationalTextKey textKey, final String newTextValue, final IResultFunction resultFunction); final boolean equals(final SettingsMap aSettingsMap); final boolean equals(final Map<OperationalTextKey , String> aMap); final Set<Map.Entry<OperationalTextKey , String>> entrySet(); @Override final int hashCode(); @Override final String toString(); final void clear(); final ByteBuffer asByteBuffer(); int size();  }
@Test public final void testClear () { settingsMap.add(OperationalTextKey.DEFAULT_TIME_2_WAIT, "2"); assertEquals("2", settingsMap.get(OperationalTextKey.DEFAULT_TIME_2_WAIT)); settingsMap.clear(); settingsMap.get(OperationalTextKey.DEFAULT_TIME_2_WAIT); }