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

public final class SqlPoolUsageInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        SqlPoolUsageInner model =
            BinaryData
                .fromString(
                    "{\"name\":\"lxgwimfnjhf\",\"resourceName\":\"wmszkk\",\"displayName\":\"qreyfkzi\",\"currentValue\":47.32813703422634,\"limit\":4.556100953874753,\"unit\":\"ivx\",\"nextResetTime\":\"2021-12-04T11:19:32Z\"}")
                .toObject(SqlPoolUsageInner.class);
    }

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