public async Task ExceptionThrownWhenUpdatingAStorageContainerWithInternalServerError() { var containerName = "TestContainer"; var containerReq = new StorageContainer(containerName, new Dictionary<string, string>()); var restResp = new HttpResponseAbstraction(new MemoryStream(), new HttpHeadersAbstraction(), HttpStatusCode.InternalServerError); this.StorageServiceRestClient.Responses.Enqueue(restResp); var client = new StorageServicePocoClient(GetValidContext(), this.ServiceLocator); await client.UpdateStorageContainer(containerReq); }