public TableStorageConfigurationServiceTestsFixture() { EnvironmentService = new Mock <IEnvironmentService>(); AzureTableStorageConnectionAdapter = new Mock <IAzureTableStorageConnectionAdapter>(); TableStorageConfigurationService = new TableStorageConfigurationService(EnvironmentService.Object, AzureTableStorageConnectionAdapter.Object); ExpectedPropertyValue = "Sample Property Value"; ExpectedEnvironment = "Test Environment"; ExpectedConfigurationConnectionString = "Test Connection String"; ExpectedCloudTable = new CloudTable(new Uri("http://example.com")); ExpectedSpecificRowKey = "Test Row Key"; }
public SampleDataType GetResultSpecificRowKey() { return(TableStorageConfigurationService.Get <SampleDataType>(ExpectedSpecificRowKey)); }
public SampleDataType GetResult() { return(TableStorageConfigurationService.Get <SampleDataType>()); }