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();
input = m_cachedRepository.getLocal(false);
inputBytes = AdminTestUtil.copy(input);
assert AdminTestUtil.byteArraysEqual(inputBytes, testContent) : "We got something different than 'initial' from getLocal: " + new String(inputBytes);
}
}