@VisibleForTesting
    static BlobKey createKey(BlobType type) {
        if (type == PERMANENT_BLOB) {
            return new PermanentBlobKey();
        } else {
            return new TransientBlobKey();
        }
    }
@Test
    void testCreateKey() {
        BlobKey key = BlobKey.createKey(PERMANENT_BLOB, KEY_ARRAY_1);
        verifyType(PERMANENT_BLOB, key);
        assertThat(key.getHash()).isEqualTo(KEY_ARRAY_1);

        key = BlobKey.createKey(TRANSIENT_BLOB, KEY_ARRAY_1);
        verifyType(TRANSIENT_BLOB, key);
        assertThat(key.getHash()).isEqualTo(KEY_ARRAY_1);
    }