@Test
public void shouldReimportAsCacheTeiidHasExpired() throws Exception {

    setTeiidCacheExpireThreshold(0); // Ensure the cache teiids are always overwritten
    mockTeiidInstance();
    UnitOfWork sysTx = sysTx();
    cachedTeiid = this.teiid.importContent(sysTx);
    Long origTimestamp = cachedTeiid.getTimestamp(sysTx);
    assertNotNull(origTimestamp);
    // Expiration time is 0 so should create a new one with a different timestamp;
    cachedTeiid = this.teiid.importContent(sysTx);
    Long newTimestamp = cachedTeiid.getTimestamp(sysTx);
    assertNotEquals(origTimestamp, newTimestamp);
}