/** * Instantiates the step scenario fields in a test case. */ public static void injectScenarioStepsInto(final Object testCase, final StepFactory stepFactory) { List<StepsAnnotatedField> stepsFields = StepsAnnotatedField.findOptionalAnnotatedFields(testCase.getClass()); instanciateScenarioStepFields(testCase, stepFactory, stepsFields); }
/** * Instantiates the step scenario fields in a test case. */ void injectNestedScenarioStepsInto(final Object scenarioSteps, final StepFactory stepFactory, final Class<?> scenarioStepsClass) { List<StepsAnnotatedField> stepsFields = StepsAnnotatedField.findOptionalAnnotatedFields(scenarioStepsClass); instanciateScenarioStepFields(scenarioSteps, stepFactory, stepsFields); }
/** * Instantiates the step scenario fields in a test case. */ public static void injectScenarioStepsInto(final Object testCase, final StepFactory stepFactory) { List<StepsAnnotatedField> stepsFields = StepsAnnotatedField.findOptionalAnnotatedFields(testCase.getClass()); instanciateScenarioStepFields(testCase, stepFactory, stepsFields); }
/** * Instantiates the step scenario fields in a test case. */ public static void injectNestedScenarioStepsInto(final Object scenarioSteps, final StepFactory stepFactory, final Class<?> scenarioStepsClass) { List<StepsAnnotatedField> stepsFields = StepsAnnotatedField.findOptionalAnnotatedFields(scenarioStepsClass); instanciateScenarioStepFields(scenarioSteps, stepFactory, stepsFields); }
/** * Instantiates the step scenario fields in a test case. */ public void injectScenarioStepsInto(final Object testCase, final StepFactory stepFactory) { List<StepsAnnotatedField> stepsFields = StepsAnnotatedField.findOptionalAnnotatedFields(testCase.getClass()); instanciateScenarioStepFields(testCase, stepFactory, stepsFields); }
/** * Instantiates the step scenario fields in a test case. */ public static void injectNestedScenarioStepsInto(final Object scenarioSteps, final StepFactory stepFactory, final Class<?> scenarioStepsClass) { List<StepsAnnotatedField> stepsFields = StepsAnnotatedField.findOptionalAnnotatedFields(scenarioStepsClass); instanciateScenarioStepFields(scenarioSteps, stepFactory, stepsFields); }