InputStream rawEis = new Base64FilterInputStream(rawIs);
// Encode the content from the JcrConnector. This creates a JcrConnector
// like the Test Connector would and then extracts the document and the
// content stream property as it is done during traversal.
MockRepositoryEventList eventList = new MockRepositoryEventList(
"MockRepositoryEventLogBinaryFile.txt");
MockRepository mockRepo = new MockRepository(eventList);
MockJcrRepository mockJcrRepo = new MockJcrRepository(mockRepo);
JcrConnector jcrConn = new JcrConnector(mockJcrRepo);
TraversalManager travMgr = jcrConn.login().getTraversalManager();