@Test public void setStartDateForUser() throws Exception { Date date = new Date(); mocker.getComponentUnderTest().setStartDateForUser(user, date); verify(modelBridge).setStartDateForUser(eq(user), eq(date)); verifyClearCache(); }
@Override public void setStartDateForUser(DocumentReference user, Date startDate) throws NotificationException { modelBridge.setStartDateForUser(user, startDate); clearCache(user); }
CachedModelBridge implements ModelBridge, Initializable { @Override public void setStartDateForUser(DocumentReference user, Date startDate) throws NotificationException { modelBridge.setStartDateForUser(user, startDate); clearCache(user); } }
CachedModelBridge implements ModelBridge, Initializable { @Override public void setStartDateForUser(DocumentReference user, Date startDate) throws NotificationException { modelBridge.setStartDateForUser(user, startDate); clearCache(user); }  }
CachedModelBridge implements ModelBridge, Initializable { @Override public void setStartDateForUser(DocumentReference user, Date startDate) throws NotificationException { modelBridge.setStartDateForUser(user, startDate); clearCache(user); }  @Override void initialize(); @Override Set<NotificationFilterPreference> getFilterPreferences(DocumentReference user); @Override Map<String, Boolean> getToggeableFilterActivations(DocumentReference user); @Override void deleteFilterPreference(DocumentReference user, String filterPreferenceId); @Override void setFilterPreferenceEnabled(DocumentReference user, String filterPreferenceId, boolean enabled); @Override void saveFilterPreferences(DocumentReference user,
            Collection<NotificationFilterPreference> filterPreferences); @Override void setStartDateForUser(DocumentReference user, Date startDate); @Override void createScopeFilterPreference(DocumentReference user, NotificationFilterType type,
            Set<NotificationFormat> formats, List<String> eventTypes, EntityReference reference); void clearCache(); }
CachedModelBridge implements ModelBridge, Initializable { @Override public void setStartDateForUser(DocumentReference user, Date startDate) throws NotificationException { modelBridge.setStartDateForUser(user, startDate); clearCache(user); }  @Override void initialize(); @Override Set<NotificationFilterPreference> getFilterPreferences(DocumentReference user); @Override Map<String, Boolean> getToggeableFilterActivations(DocumentReference user); @Override void deleteFilterPreference(DocumentReference user, String filterPreferenceId); @Override void setFilterPreferenceEnabled(DocumentReference user, String filterPreferenceId, boolean enabled); @Override void saveFilterPreferences(DocumentReference user,
            Collection<NotificationFilterPreference> filterPreferences); @Override void setStartDateForUser(DocumentReference user, Date startDate); @Override void createScopeFilterPreference(DocumentReference user, NotificationFilterType type,
            Set<NotificationFormat> formats, List<String> eventTypes, EntityReference reference); void clearCache();  }