assertSame(original, victim);
}
@Test
public void shouldDestroySchedulerWhenStrategyIsDestroyed() {
final SchedulerHelper scheduler = Mockito.mock(SchedulerHelper.class);
victim = new DefaultSynchronizedCacheStrategyDecorator(new MemoryCacheStrategy<CacheKey, CacheValue>()) {
@Override
SchedulerHelper newResourceWatcherScheduler() {
return scheduler;
};