@Test
public void testSetupFlow() throws ExecutorManagerException {

  final ExecutableFlow executableFlow = mock(ExecutableFlow.class);
  when(executableFlow.getExecutionId()).thenReturn(12345);
  when(executableFlow.getProjectId()).thenReturn(FAT_PROJECT_ID);
  when(executableFlow.getVersion()).thenReturn(34);
  this.instance.setup(executableFlow);
  final File execDir = new File(this.executionsDir, "12345");
  assertTrue(execDir.exists());
  assertTrue(new File(execDir, SAMPLE_FLOW_01).exists());
}