public async Task ExceptionThrownWhenDeletingAStorageObjectWithInternalServerError() { var containerName = "TestContainer"; var objectName = "TestObject"; var restResp = new HttpResponseAbstraction(new MemoryStream(), new HttpHeadersAbstraction(), HttpStatusCode.InternalServerError); this.StorageServiceRestClient.Responses.Enqueue(restResp); var client = new StorageServicePocoClient(GetValidContext(), this.ServiceLocator); await client.DeleteStorageObject(containerName, objectName); }