// 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.fluent.models.UpdateTrustedIdProviderProperties;
import org.junit.jupiter.api.Assertions;

public final class UpdateTrustedIdProviderPropertiesTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        UpdateTrustedIdProviderProperties model =
            BinaryData
                .fromString("{\"idProvider\":\"uhrhcffcyddgl\"}")
                .toObject(UpdateTrustedIdProviderProperties.class);
        Assertions.assertEquals("uhrhcffcyddgl", model.idProvider());
    }

    @org.junit.jupiter.api.Test
    public void testSerialize() throws Exception {
        UpdateTrustedIdProviderProperties model =
            new UpdateTrustedIdProviderProperties().withIdProvider("uhrhcffcyddgl");
        model = BinaryData.fromObject(model).toObject(UpdateTrustedIdProviderProperties.class);
        Assertions.assertEquals("uhrhcffcyddgl", model.idProvider());
    }
}
