// 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.AzureADOnlyAuthenticationListResult;

public final class AzureADOnlyAuthenticationListResultTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        AzureADOnlyAuthenticationListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"azureADOnlyAuthentication\":false,\"state\":\"Consistent\",\"creationDate\":\"2021-03-23T13:19:49Z\"},\"id\":\"mtqio\",\"name\":\"jzehtb\",\"type\":\"ufpo\"}],\"nextLink\":\"oizh\"}")
                .toObject(AzureADOnlyAuthenticationListResult.class);
    }

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