WroManagerFactoryDecorator extends AbstractDecorator<WroManagerFactory> implements WroManagerFactory, StandaloneContextAware { public WroManager create() { return managerInitializer.get(); } WroManagerFactoryDecorator(final WroManagerFactory managerFactory); WroManager create(); void onCachePeriodChanged(final long value); void onModelPeriodChanged(final long value); void destroy(); void initialize(final StandaloneContext standaloneContext);  }
@Test public void shouldInvokeCreateOnDecoratedFactory() { victim.create(); verify(decorated).create(); }