@Test
public void clearShouldExecuteWhenCacheEnabled() throws TimeoutException, CacheException {

    ssmCache = new SSMCache(cache, expiration, true);
    when(cache.isEnabled()).thenReturn(true);
    ssmCache.clear();
    verify(cache).flush();
}