### Question:
TenantSafeCache implements ICache<String, V> { @Override public void delete(String k) { wrapped.delete(generateKey(k)); } TenantSafeCache(String tenantName, ICache<String, V> wrapped); @Override void put(String k, V o); @Override V get(String k); @Override void delete(String k); @Override void clearAll();  }### Answer:
@Test public void should_addTenantNamToKey_when_deletingFromCache() { ICache wrapped = mock(ICache.class); TenantSafeCache<String> sut = new TenantSafeCache<String>("tenant1", wrapped); sut.delete("key"); verify(wrapped, times(1)).delete("tenant1key"); }