void () { VirtualFileGist<String> gist = gistOfFirst3CharsFromFile(); String file1Content = "foo bar"; assertEquals( gist.getFileData(getProject(), fileWithContent("a.txt", file1Content)), file1Content.substring(0, 3) ); String file2Content = "bar foo"; assertEquals( gist.getFileData(getProject(), fileWithContent("b.txt", file2Content)), file2Content.substring(0, 3) ); }