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

package com.azure.resourcemanager.mediaservices.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.mediaservices.models.UserAssignedManagedIdentity;

public final class UserAssignedManagedIdentityTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        UserAssignedManagedIdentity model =
            BinaryData
                .fromString(
                    "{\"clientId\":\"43d3df7b-b36f-4b1c-9751-ee0202131d62\",\"principalId\":\"eb322375-25ac-40ea-9b59-09bcfbdf36ec\"}")
                .toObject(UserAssignedManagedIdentity.class);
    }

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