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

package com.azure.resourcemanager.delegatednetwork.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.delegatednetwork.models.DelegatedControllerProperties;

public final class DelegatedControllerPropertiesTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        DelegatedControllerProperties model =
            BinaryData
                .fromString(
                    "{\"resourceGuid\":\"ooojywifsqe\",\"provisioningState\":\"Failed\",\"dncAppId\":\"dfmglzlhjx\",\"dncTenantId\":\"f\",\"dncEndpoint\":\"mrvktsizntoc\"}")
                .toObject(DelegatedControllerProperties.class);
    }

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