// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.datalakestore.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.datalakestore.models.EncryptionIdentity;

public final class EncryptionIdentityTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        EncryptionIdentity model =
            BinaryData
                .fromString(
                    "{\"principalId\":\"f39d7dac-00ea-4ef7-a22d-0e7e6a494bb8\",\"tenantId\":\"43a64341-4107-4fab-9b04-8b9b597c91af\"}")
                .toObject(EncryptionIdentity.class);
    }

    @org.junit.jupiter.api.Test
    public void testSerialize() throws Exception {
        EncryptionIdentity model = new EncryptionIdentity();
        model = BinaryData.fromObject(model).toObject(EncryptionIdentity.class);
    }
}
