}
@Test
public void testGetFile() throws Exception {
RemotePipeline rp = new HttpRemotePipeline("localhost", server.getPort(), "stage");
if(rp.getFile("id", new LocalDocumentID("file"))!=null) {
fail("Got non-null for non-existant document and non-existant file");
}
MemoryDocument testDoc = new MemoryDocument();
mc.getDocumentWriter().insert(testDoc);
if(rp.getFile(testDoc.getID().getID().toString(), new LocalDocumentID("file"))!=null) {
fail("Got non-null for non-existant file");
}
String content = "adsafgoaiuhgahgo\ndndasasddåäöäöåäöäas";
String fileName = "test.txt";