### Question:
WroManager implements WroConfigurationChangeListener { public final void onCachePeriodChanged(final long period) { LOG.info("onCachePeriodChanged with value {} has been triggered!", period); cacheSchedulerHelper.scheduleWithPeriod(period); cacheStrategy.clear(); } private  WroManager(final Builder builder); final void process(); final String encodeVersionIntoGroupPath(final String groupName, final ResourceType resourceType,
      final boolean minimize); final void onCachePeriodChanged(final long period); final void onModelPeriodChanged(final long period); final void destroy(); final HashStrategy getHashStrategy(); final WroModelFactory getModelFactory(); final ProcessorsFactory getProcessorsFactory(); final CacheStrategy<CacheKey, CacheValue> getCacheStrategy(); final UriLocatorFactory getUriLocatorFactory(); final NamingStrategy getNamingStrategy(); final GroupExtractor getGroupExtractor(); CacheKeyFactory getCacheKeyFactory(); MetaDataFactory getMetaDataFactory(); ResourceWatcher getResourceWatcher(); final void registerCallback(final ObjectFactory<LifecycleCallback> callbackFactory); LifecycleCallbackRegistry getCallbackRegistry(); ResourceAuthorizationManager getResourceAuthorizationManager();  }### Answer:
@Test public void shouldClearAuthorizationManagerWhenCachePeriodChanged() { victim.onCachePeriodChanged(1); verify(mockAuthorizationManager, atLeastOnce()).clear(); }