public SuggestionSteps(ScenarioContext scenarioContext, ConnectorDriver connectorDriver, GroupDriver groupDriver,
                        ChargeStationDriver chargeStationDriver, SuggestionDriver suggestionDriver)
 {
     _scenarioContext     = scenarioContext;
     _groupDriver         = groupDriver;
     _chargeStationDriver = chargeStationDriver;
     _connectorDriver     = connectorDriver;
     _suggestionDriver    = suggestionDriver;
 }
Ejemplo n.º 2
0
 public ChargeStationSteps(ScenarioContext scenarioContext, GroupDriver groupDriver,
                           ChargeStationDriver chargeStationDriver, ConnectorDriver connectorDriver)
 {
     _scenarioContext = scenarioContext;
     _scenarioContext["createChargeStation"]        = new SaveChargeStationResource();
     _scenarioContext["chargeStationListResponses"] = new List <HttpResponseMessage>();
     _groupDriver         = groupDriver;
     _chargeStationDriver = chargeStationDriver;
     _connectorDriver     = connectorDriver;
 }
        public ConnectorSteps(ScenarioContext scenarioContext, ConnectorDriver connectorDriver, GroupDriver groupDriver,
                              ChargeStationDriver chargeStationDriver, SuggestionDriver suggestionDriver)
        {
            _scenarioContext = scenarioContext;
            _scenarioContext["createConnector"] = new SaveConnectorResource();

            _scenarioContext["groups"]         = new List <HttpResponseMessage>();
            _scenarioContext["chargeStations"] = new List <HttpResponseMessage>();
            _scenarioContext["connectors"]     = new List <HttpResponseMessage>();
            _groupDriver         = groupDriver;
            _chargeStationDriver = chargeStationDriver;
            _connectorDriver     = connectorDriver;
        }