CachedRepository m_cachedRepository = new CachedRepositoryImpl(null, m_repository, m_backupRepository, 0);
byte[] testContent = new byte[] {'i', 'n', 'i', 't', 'i', 'a', 'l'};
InputStream input = new ByteArrayInputStream(testContent);
m_cachedRepository.commit(input, 0);
m_cachedRepository = new CachedRepositoryImpl(null, m_repository, m_backupRepository, 0);
input = m_cachedRepository.checkout(1);
byte[] inputBytes = AdminTestUtil.copy(input);
assert AdminTestUtil.byteArraysEqual(inputBytes, testContent) : "We got something different than 'initial' from checkout: " + new String(inputBytes);