NopContextProvider implements ContextProvider { @Override public void remove(final String key) { } NopContextProvider(); @Override Map<String, String> getMapping(); @Override String get(final String key); @Override void put(final String key, final Object value); @Override void remove(final String key); @Override void clear();  }
@Test public void remove() { provider.remove("abc"); provider.remove(null); }