@Test
  public void testResize() throws StorageException, URISyntaxException {
    CloudPageBlob blob = this.container.getPageBlobReference("blob1");
    CloudPageBlob blob2 = this.container.getPageBlobReference("blob1");

    blob.create(1024);
    assertEquals(1024, blob.getProperties().getLength());
    assertNull(blob.getProperties().getPageBlobSequenceNumber());

    blob2.downloadAttributes();
    assertEquals(1024, blob2.getProperties().getLength());
    assertNull(blob.getProperties().getPageBlobSequenceNumber());

    blob2.getProperties().setContentType("text/plain");
    blob2.uploadProperties();

    blob.resize(2048);
    assertEquals(2048, blob.getProperties().getLength());
    assertNotNull(blob.getProperties().getPageBlobSequenceNumber());

    blob.downloadAttributes();
    assertEquals("text/plain", blob.getProperties().getContentType());
    assertNotNull(blob.getProperties().getPageBlobSequenceNumber());

    blob2.downloadAttributes();
    assertEquals(2048, blob2.getProperties().getLength());
    assertNotNull(blob.getProperties().getPageBlobSequenceNumber());
  }