public void Azure_Blob_CreateStoreFromCore() { // Given var azureBlobCore = new AzureBlobCore("azure_dev"); // When var store = azureBlobCore.CreateStoreFor<InstrumentDocuments>(); // Then Assert.IsTrue(store is AzureStore<InstrumentDocuments>); }
public void Azure_Blob_SaveToAzureExampleData() { // Given var azureCore = new AzureBlobCore("azure_dev"); var exmapleItmes = this.GetExampleItems(); // When azureCore.SaveAll(exmapleItmes); // Then }
public void Azure_Blob_CreateStoreFromCore() { // Given var azureBlobCore = new AzureBlobCore("azure_dev"); // When var store = azureBlobCore.CreateStoreFor <InstrumentDocuments>(); // Then Assert.IsTrue(store is AzureStore <InstrumentDocuments>); }
public void Azure_Blob_ReadFromBlob() { // Given var azureCore = new AzureBlobCore("azure_dev"); var exmapleItmes = this.GetExampleItems(); azureCore.SaveAll(exmapleItmes); // When var result = azureCore.GetAll<InstrumentDocuments>(); // Then Assert.AreEqual(this.quantityToAdd, result.Count()); }
public void Azure_Blob_ReadFromBlob() { // Given var azureCore = new AzureBlobCore("azure_dev"); var exmapleItmes = this.GetExampleItems(); azureCore.SaveAll(exmapleItmes); // When var result = azureCore.GetAll <InstrumentDocuments>(); // Then Assert.AreEqual(this.quantityToAdd, result.Count()); }
private static IDataStore <InstrumentDocuments> GetAzureStore() { return(AzureBlobCore.CreateStoreFor <InstrumentDocuments>(AzureStoreUsingBlobWithStringKey.ConnectionStringName)); }