public WorkflowStepFactoryTest() {
wfStepFactory = new ViewWorkflowFactory();
Instance<DefineBasisView> defineBasisSource = mock(Instance.class);
when(defineBasisSource.get()).thenReturn(new DefineBasisView());
wfStepFactory.setDefineBasisSource(defineBasisSource);
Instance<DefineSampleRecordsView> defineSampleRecordsSource = mock(Instance.class);
when(defineSampleRecordsSource.get()).thenReturn(new DefineSampleRecordsView());
wfStepFactory.setDefineSampleRecordsSource(defineSampleRecordsSource);