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());
assertTrue(remoteJunk.exists());
assertEquals(flow.getFeatureBranchPrefix() + "my-feature", git.getRepository().getBranch());