@Test
public void testCreatePointGeneratorWorkflow() {

    workflowContext.setInsituSensorName("wtf");
    final Storage storage = mock(Storage.class);
    final PersistenceManager persistenceManager = mock(PersistenceManager.class);
    when(persistenceManager.getStorage()).thenReturn(storage);
    workflowContext.setPersistenceManager(persistenceManager);
    workflowContext.setSampleGeneratorName("SOBOL");
    Workflow workflow = SamplingPointGenerationTool.createPointGeneratorWorkflow(workflowContext);
    assertTrue(workflow instanceof GenerateSobolPointsWorkflow);
    workflowContext.setSampleGeneratorName("INSITU");
    workflow = SamplingPointGenerationTool.createPointGeneratorWorkflow(workflowContext);
    assertTrue(workflow instanceof GenerateInsituPointsWorkflow);
}