public void when_purging_a_public_container_wit_a_single_purge_email_address()
        {
            var deleteContainer = new DeleteContainer("http://cdnmanagementurl", "containername", new[] {"*****@*****.**"});
            var mockrequest = new Mock<ICloudFilesRequest>();
            var webheaders = new WebHeaderCollection();
            mockrequest.SetupGet(x => x.Headers).Returns(webheaders);

            Assert.That(deleteContainer.CreateUri().ToString(), Is.EqualTo("http://cdnmanagementurl/containername"));

            deleteContainer.Apply(mockrequest.Object);

            mockrequest.VerifySet(x => x.Method = "DELETE");
            webheaders.KeyValueFor(Constants.X_PURGE_EMAIL).HasValueOf("*****@*****.**");
        }