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

package com.azure.resourcemanager.synapse.generated;

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

public final class UserAssignedManagedIdentityTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        UserAssignedManagedIdentity model =
            BinaryData
                .fromString(
                    "{\"clientId\":\"b48130cf-4590-48e3-9818-43aa682948d9\",\"principalId\":\"fd70b50b-b90c-4dcd-9c53-d06fda045691\"}")
                .toObject(UserAssignedManagedIdentity.class);
    }

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