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

package com.azure.resourcemanager.hybridnetwork.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.hybridnetwork.models.DevicePropertiesFormat;
import org.junit.jupiter.api.Test;

public final class DevicePropertiesFormatTests {
    @Test
    public void testDeserialize() {
        DevicePropertiesFormat model =
            BinaryData
                .fromString(
                    "{\"deviceType\":\"DevicePropertiesFormat\",\"status\":\"Unknown\",\"provisioningState\":\"Canceled\",\"networkFunctions\":[{\"id\":\"wryoqpsoacc\"},{\"id\":\"zakljlahbc\"},{\"id\":\"ffdfdosygexpa\"},{\"id\":\"akhmsbzjhcrz\"}]}")
                .toObject(DevicePropertiesFormat.class);
    }

    @Test
    public void testSerialize() {
        DevicePropertiesFormat model = new DevicePropertiesFormat();
        model = BinaryData.fromObject(model).toObject(DevicePropertiesFormat.class);
    }
}
