assertEquals("Should successfully return file text", "some tex&&&<<>t" + '\u0000', text );
assertEquals("Should put result to vFile", "some tex&&&<<>t" + '\u0000', vFile.getContents());
}
public void testGetFileContent_BigFile() throws Exception {
VFile vFile = VFile.create("a path");
myUserModel.addUser(mySelf);
mySelf.setCanAccessMyFiles(true, myUserModel);
char buf [] = new char[100000];
Arrays.fill(buf, 'd');
myIdeFacade.setReturnedFileText(vFile, new String(buf));
WatchDog s = new WatchDog("get 100000 bytes file");
mySelf.getVFile(vFile, myIdeFacade);
s.stop();
assertEquals("Should successfully return file text", new String(buf), vFile.getContents() );
}