Пример #1
0
        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";
        }
Пример #2
0
 public SampleDataType GetResultSpecificRowKey()
 {
     return(TableStorageConfigurationService.Get <SampleDataType>(ExpectedSpecificRowKey));
 }
Пример #3
0
 public SampleDataType GetResult()
 {
     return(TableStorageConfigurationService.Get <SampleDataType>());
 }