assertEquals( 1, repo.getDomainIds().size() );
repo.getDomain( ID );
assertEquals( 2, PentahoSystem.getCacheManager( null ).getAllKeysFromRegionCache( CACHE_NAME ).size() );
// Storing a domain should only wipe out the cached domains with the same id
repo.storeDomain( getTestDomain( "2" ), false ); //$NON-NLS-1$
assertEquals( 2, repo.getDomainIds().size() );
assertEquals( 2, PentahoSystem.getCacheManager( null ).getAllKeysFromRegionCache( CACHE_NAME ).size() );
}
public void testRemoveModel() throws Exception {