BlobStore blobStore = getBlobStore();
blobStore.createContainerInLocation(null, "container");
blobStore.createDirectory("container", "one");
blobStore.putBlob("container", blobStore.blobBuilder("myblob").payload(ByteSource.wrap("testcontent".getBytes())).build());
Blob representation = ToBlob.INSTANCE.apply(blobStore.getBlob("container", "myblob"));
assertNotNull(representation);
assertNotNull(representation.getBlobMetadata());
}