public void Setup() { _defaultTarget = new ModelsAndServices(); IConnectors connectors = new Connectors(); _nonDefaultTarget = new ModelsAndServices(connectors); }
public EnvironmentContext(IModelsAndServices modelsAndServices) { if (modelsAndServices == null) { throw new ArgumentNullException("modelsAndServices"); } _modelsAndServices = modelsAndServices; }
public void TearDown() { _defaultTarget = null; _nonDefaultTarget = null; }
public EnvironmentContext() { _modelsAndServices = new ModelsAndServices(); }
public EnvironmentContext(IModelsAndServices modelsAndServices) { if (modelsAndServices == null) throw new ArgumentNullException("modelsAndServices"); _modelsAndServices = modelsAndServices; }