// Cache should be empty
assertEquals( 0, PentahoSystem.getCacheManager( null ).getAllKeysFromRegionCache( CACHE_NAME ).size() );
assertEquals( 0, repo.getDomainIds().size() );
repo.reloadDomains();
assertEquals( 1, mock.getInvocationCount( "reloadDomains" ) ); //$NON-NLS-1$
assertEquals( 1, repo.getDomainIds().size() );
// Cache should only have the domain ids
assertEquals( 1, PentahoSystem.getCacheManager( null ).getAllKeysFromRegionCache( CACHE_NAME ).size() );