Relative Content

Tag Archive for c#azureunit-testing

How to mock Azure.Storage.Queue ‘QueueClient’ in unit test?

I am quite new to the C#/.NET language/framework, and am having some issues unit testing a class and its methods where a QueueClient from the Azure.Storage.Queue package is initialized in the constructor of my AzureQueueService , which is to be used to send messages to an Azure Storage Queue.

How to mock Azure.Storage.Queue ‘QueueClient’ in unit test?

I am quite new to the C#/.NET language/framework, and am having some issues unit testing a class and its methods where a QueueClient from the Azure.Storage.Queue package is initialized in the constructor of my AzureQueueService , which is to be used to send messages to an Azure Storage Queue.