File junkFile = new File(flow.git().getRepository().getWorkTree(), "junk.txt");
FileUtils.writeStringToFile(junkFile, "I am junk");
flow.git().add().addFilepattern(junkFile.getName()).call();
RevCommit localcommit = flow.git().commit().setMessage("adding junk file").call();
ReleaseMergeResult result = flow.releaseFinish("1.0").setPush(true).call();
assertTrue(result.wasSuccessful());
assertTrue(GitHelper.isMergedInto(remoteGit, localcommit, flow.getMasterBranchName()));
assertTrue(GitHelper.isMergedInto(remoteGit, localcommit, flow.getDevelopBranchName()));