TimerManager { public void complete(String id) { Maybe.ofNullable(contexts.getIfPresent(id)) .forEach(Context::stop); contexts.invalidate(id); } TimerManager(long maxSize, int minutesUntilExpire); void complete(String id); void start(String id, Context context);  }
@Test public void whenValueNotPresentNoError() { manager.complete("1"); }