//do a commit to the remote develop branch
remoteGit.checkout().setName("develop").call();
File junkFile = new File(remoteGit.getRepository().getWorkTree(), "junk.txt");
FileUtils.writeStringToFile(junkFile, "I am junk");
remoteGit.add().addFilepattern(junkFile.getName()).call();
remoteGit.commit().setMessage("adding junk file").call();
flow.featureStart("my-feature").call();
assertEquals(flow.getFeatureBranchPrefix() + "my-feature", git.getRepository().getBranch());