FlowUtils { public static ExecutableFlow createExecutableFlow(final Project project, final Flow flow) { final ExecutableFlow exflow = new ExecutableFlow(project, flow); exflow.addAllProxyUsers(project.getProxyUsers()); return exflow; }  static Props addCommonFlowProperties(final Props parentProps,
      final ExecutableFlowBase flow); static void applyDisabledJobs(final List<DisabledJob> disabledJobs,
      final ExecutableFlowBase exflow); static Project getProject(final ProjectManager projectManager, final int projectId); static Flow getFlow(final Project project, final String flowName); static ExecutableFlow createExecutableFlow(final Project project, final Flow flow); static String toJson(final Project proj); static Project toProject(final String json);  }
@Test public void testCreateExecutableFlow() throws Exception { final Flow flow = FlowUtils.getFlow(this.project, "jobe"); final ExecutableFlow exFlow = FlowUtils.createExecutableFlow(this.project, flow); Assert.assertEquals(exFlow.getProjectId(), this.project.getId()); Assert.assertEquals(exFlow.getFlowId(), flow.getId()); Assert.assertEquals(exFlow.getProxyUsers(), this.project.getProxyUsers()); }