@Test
public void defaultBranchTest() throws Exception {

    engine.run("Workflow1", "foo");
    String result = (String) channel.wait("correlationId", 1000, TimeUnit.MILLISECONDS);
    assertEquals("Vmaster", result);
    assertEquals("master", wfRepo.getBranch());
}