File junkFile = new File(git.getRepository().getWorkTree(), "junk.txt");
FileUtils.writeStringToFile(junkFile, "I am junk");
git.add().addFilepattern(junkFile.getName()).call();
RevCommit commit = git.commit().setMessage("committing junk file").call();
flow.featurePublish("my-feature").call();
assertTrue(GitHelper.isMergedInto(remoteGit, commit, flow.getFeatureBranchPrefix() + "my-feature"));
remoteGit.checkout().setName(flow.getFeatureBranchPrefix() + "my-feature").call();
File remoteJunk = new File(remoteGit.getRepository().getWorkTree(),junkFile.getName());