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()));
assertFalse(GitHelper.remoteBranchExists(git,flow.getReleaseBranchPrefix() + "1.0",flow.getReporter()));
assertFalse(GitHelper.localBranchExists(remoteGit,flow.getReleaseBranchPrefix() + "1.0"));