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

public final class RecoverableSqlPoolListResultTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        RecoverableSqlPoolListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"edition\":\"efojyqdhcupl\",\"serviceLevelObjective\":\"lcwkhihihlhz\",\"elasticPoolName\":\"qtz\",\"lastAvailableBackupDate\":\"2021-02-23T09:25:04Z\"},\"id\":\"gnowcjhfgmveca\",\"name\":\"txmwoteyow\",\"type\":\"luqovekqvg\"},{\"properties\":{\"edition\":\"wifzmp\",\"serviceLevelObjective\":\"yivqikfxcvhrfsp\",\"elasticPoolName\":\"agr\",\"lastAvailableBackupDate\":\"2021-07-10T20:58:35Z\"},\"id\":\"kteusqczk\",\"name\":\"yklxubyjaffmmfbl\",\"type\":\"qcuubgqibrta\"},{\"properties\":{\"edition\":\"tttwgdslqxih\",\"serviceLevelObjective\":\"moo\",\"elasticPoolName\":\"qseypxiutcxa\",\"lastAvailableBackupDate\":\"2021-01-03T05:51:25Z\"},\"id\":\"y\",\"name\":\"petogebjox\",\"type\":\"lhvnhlab\"}],\"nextLink\":\"nk\"}")
                .toObject(RecoverableSqlPoolListResult.class);
    }

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