AzureWebFarm.Tests.Helpers.AutoRenewLeaseShould.Renew_lease_past_initial_lease_length C# (CSharp) Method

Renew_lease_past_initial_lease_length() private method

private Renew_lease_past_initial_lease_length ( ) : void
return void
        public void Renew_lease_past_initial_lease_length()
        {
            using (new AutoRenewLease(new ConsoleFactory(), LoggerLevel.Debug, _blob, renewLeaseSeconds: 1, leaseLengthSeconds: 2))
            {
                Thread.Sleep(TimeSpan.FromSeconds(4));
                Assert.Throws<StorageClientException>(_blob.SetMetadata);
            }
        }