### Question:
BaseWroManagerFactory implements WroManagerFactory { public void onModelPeriodChanged(final long period) { try { managerInitializer.get().onModelPeriodChanged(period); } catch (final WroRuntimeException e) { LOG.warn("[FAIL] Unable to reload model, probably because invoked outside of context"); } }  final WroManager create(); BaseWroManagerFactory setNamingStrategy(final NamingStrategy namingStrategy); void onCachePeriodChanged(final long period); void onModelPeriodChanged(final long period); BaseWroManagerFactory setGroupExtractor(final GroupExtractor groupExtractor); BaseWroManagerFactory setModelFactory(final WroModelFactory modelFactory); BaseWroManagerFactory setHashStrategy(final HashStrategy hashStrategy); void setCacheKeyFactory(final CacheKeyFactory cacheKeyFactory); BaseWroManagerFactory setModelTransformers(final List<Transformer<WroModel>> modelTransformers); BaseWroManagerFactory addModelTransformer(final Transformer<WroModel> modelTransformer); BaseWroManagerFactory setCacheStrategy(final CacheStrategy<CacheKey, CacheValue> cacheStrategy); BaseWroManagerFactory setUriLocatorFactory(final UriLocatorFactory uriLocatorFactory); BaseWroManagerFactory setProcessorsFactory(final ProcessorsFactory processorsFactory); BaseWroManagerFactory setResourceAuthorizationManager(final ResourceAuthorizationManager authorizationManager); void setMetaDataFactory(final MetaDataFactory metaDataFactory); BaseWroManagerFactory setResourceWatcher(final ResourceWatcher resourceWatcher); void destroy();  }### Answer:
@Test public void shouldNotFailWhenReloadingModelOutsideOfContext() throws Exception { Context.unset(); victim.onModelPeriodChanged(0); }