// 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.NetworkFunctionRoleInstanceListResult;
import org.junit.jupiter.api.Test;

public final class NetworkFunctionRoleInstanceListResultTests {
    @Test
    public void testDeserialize() {
        NetworkFunctionRoleInstanceListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"name\":\"zyoxaepdkzjan\",\"id\":\"xibxujwbhqwalm\",\"type\":\"ux\",\"properties\":{\"provisioningState\":\"Succeeded\",\"operationalState\":\"Unknown\"}}],\"nextLink\":\"d\"}")
                .toObject(NetworkFunctionRoleInstanceListResult.class);
    }

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