//update local
git.checkout().setName("master").call();
git.pull().call();
git.checkout().setName("develop").call();
flow.hotfixStart("1.0").setFetch(true).setPush(true).setExtension(extension).call();
assertEquals(flow.getHotfixBranchPrefix() + "1.0", git.getRepository().getBranch());
assertTrue("before was not called", extension.wasCalled(BaseExtensionForTests.BEFORE));
assertTrue("beforeFetch was not called", extension.wasCalled(BaseExtensionForTests.BEFORE_FETCH));