public PerScenarioContainerSteps( FeatureContext featureContext, ScenarioContext scenarioContext) { this.featureContext = featureContext; this.scenarioContext = scenarioContext; this.containerContext = ContainerTestContext.GetForScenario(this.scenarioContext); }
private static void GetServiceDuringPhase(ScenarioContext scenarioContext, Phase phase) { ContainerTestContext.GetForScenario(scenarioContext).GetServiceFromContainerDuringPhase(phase); }
public static void PopulateServiceCollectionBeforeScenario(ScenarioContext scenarioContext) { ContainerTestContext.GetForScenario(scenarioContext).AddServices(); }
private static void GetServiceDuringPhase(FeatureContext featureContext, Phase phase) { ContainerTestContext.GetForFeature(featureContext).GetServiceFromContainerDuringPhase(phase); }
public static void PopulateServiceCollectionBeforeFeature(FeatureContext featureContext) { ContainerTestContext.GetForFeature(featureContext).AddServices(); }
public PerFeatureContainerSteps(FeatureContext featureContext) { this.featureContext = featureContext; this.containerContext = ContainerTestContext.GetForFeature(this.featureContext); }