public BlaiseSurveyApi(ConnectionModel connectionModel = null) { _surveyService = UnityProvider.Resolve <ISurveyService>(); _surveyMetaService = UnityProvider.Resolve <ISurveyMetaService>(); _caseService = UnityProvider.Resolve <ICaseService>(); var configurationProvider = UnityProvider.Resolve <IBlaiseConfigurationProvider>(); _connectionModel = connectionModel ?? configurationProvider.GetConnectionModel(); }
public void SetupTests() { _connectionModel = new ConnectionModel(); _instrumentName = "TestInstrumentName"; _serverParkName = "TestServerParkName"; _dataModelServiceMock = new Mock <IDataModelService>(); _sut = new SurveyMetaService(_dataModelServiceMock.Object); }
internal BlaiseSurveyApi( ISurveyService surveyService, ISurveyMetaService surveyMetaService, ICaseService caseService, ConnectionModel connectionModel) { _surveyService = surveyService; _surveyMetaService = surveyMetaService; _caseService = caseService; _connectionModel = connectionModel; }