cacheTime.expects.getTimeInMillis().returns(Integer.MAX_VALUE);
// Create a new DefaultCacheStore with a TTL of 100
CacheStore defaultCacheStore = new DefaultCacheStore(cacheTime,100);
CacheEntry entry1 = new CSSCacheEntry(writableCSSEntityMock1);
CacheEntry entry2 = new CSSCacheEntry(writableCSSEntityMock2, 50);
CacheEntry entry3 = new CSSCacheEntry(writableCSSEntityMock2, 150);
// We add the first identity which should get a cacheTime of 0,
// expiresTime of 100 and a sequence number of 0
CacheIdentity identity1 = defaultCacheStore.store(entry1);
assertEquals("T1", identity1.getCreateTime(),0);