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

package com.azure.resourcemanager.sqlvirtualmachine.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.sqlvirtualmachine.models.SqlVirtualMachineListResult;

public final class SqlVirtualMachineListResultTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        SqlVirtualMachineListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"identity\":{\"principalId\":\"eb5fbf4d-559e-4c8c-b748-e806cc8b6ece\",\"type\":\"None\",\"tenantId\":\"3a23954a-6ca7-49bc-adc3-485f8a27c26b\"},\"properties\":{\"virtualMachineResourceId\":\"m\",\"provisioningState\":\"hrzayvvtpgvdf\",\"sqlImageOffer\":\"otkftutqxlngx\",\"sqlServerLicenseType\":\"AHUB\",\"sqlManagement\":\"LightWeight\",\"leastPrivilegeMode\":\"Enabled\",\"sqlImageSku\":\"Web\",\"sqlVirtualMachineGroupResourceId\":\"xdqmidtthzrvqdra\",\"wsfcStaticIp\":\"yb\",\"enableAutomaticUpgrade\":false},\"location\":\"kanyktzlcuiywg\",\"tags\":{\"gpphrcgyn\":\"gndrvynh\",\"fsxlzevgbmqjqa\":\"ocpecfvmmco\",\"pmivkwlzu\":\"c\",\"ebxetqgtzxdp\":\"ccfwnfnbacfion\"},\"id\":\"qbqqwxr\",\"name\":\"feallnwsu\",\"type\":\"isnjampmngnz\"}],\"nextLink\":\"xaqwoochcbonqv\"}")
                .toObject(SqlVirtualMachineListResult.class);
    }

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