// 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.fluent.models.RestorableDroppedSqlPoolInner;

public final class RestorableDroppedSqlPoolInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        RestorableDroppedSqlPoolInner model =
            BinaryData
                .fromString(
                    "{\"location\":\"wmdboxdfgsftuf\",\"properties\":{\"databaseName\":\"rjlnacgcck\",\"edition\":\"hxkizvytnrzv\",\"maxSizeBytes\":\"jraaeranokqguk\",\"serviceLevelObjective\":\"qnvb\",\"elasticPoolName\":\"ylaxxulcdi\",\"creationDate\":\"2021-07-14T04:09:25Z\",\"deletionDate\":\"2021-02-01T10:54:28Z\",\"earliestRestoreDate\":\"2021-04-13T22:50:17Z\"},\"id\":\"jsvg\",\"name\":\"rwhryvycytd\",\"type\":\"lxgccknfnwmbtm\"}")
                .toObject(RestorableDroppedSqlPoolInner.class);
    }

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