void () { final VirtualFileGist<String> first3CharsGist = gistOfFirst3CharsFromFile(); final String fileContent = "goo goo"; final LightVirtualFile lightFile = new LightVirtualFile("a.txt", fileContent); assertEquals( fileContent.substring(0, 3), first3CharsGist.getFileData(getProject(), lightFile) ); }