m_cachedRepository = new CachedRepositoryImpl(null, m_repository, m_backupRepository, 0);
input = m_cachedRepository.checkout(1);
byte[] newTestContent = new byte[] {'n', 'e', 'w'};
m_cachedRepository.writeLocal(new ByteArrayInputStream(newTestContent));
input = m_cachedRepository.getLocal(false);
byte[] inputBytes = AdminTestUtil.copy(input);
assert AdminTestUtil.byteArraysEqual(inputBytes, newTestContent) : "We got something different than 'new' from getLocal: " + new String(inputBytes);
m_cachedRepository.revert();