public void ValidatesArgs() { //Arrange var target = new AzureStorageFactory(); //Act Assert Assert.That(() => target.GetAzureQueue <CloudQueueMessage>(null, "foo"), Throws.ArgumentNullException); Assert.That(() => target.GetAzureQueue <CloudQueueMessage>(mockAccount, string.Empty), Throws.ArgumentNullException); }
public void Sucesss() { //Arrange var target = new AzureStorageFactory(); //Act var result = target.GetAzureQueue <CloudQueueMessage>(mockAccount, "foo"); //Assert Assert.IsNotNull(result); }