Instance<DefineSampleRecordsView> defineSampleRecordsSource = mock(Instance.class);
when(defineSampleRecordsSource.get()).thenReturn(new DefineSampleRecordsView());
wfStepFactory.setDefineSampleRecordsSource(defineSampleRecordsSource);
Instance<IdentifyRequirementsView> identifyRequirementsSource = mock(Instance.class);
when(identifyRequirementsSource.get()).thenReturn(new IdentifyRequirementsView());
wfStepFactory.setIdentifyRequirementsSource(identifyRequirementsSource);
Instance<DefineAlternativesView> defineAlternativesSource = mock(Instance.class);
when(defineAlternativesSource.get()).thenReturn(new DefineAlternativesView());
wfStepFactory.setDefineAlternativesSource(defineAlternativesSource);