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

public final class ServerUsageInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        ServerUsageInner model =
            BinaryData
                .fromString(
                    "{\"name\":\"cojocqwogfnzjvus\",\"resourceName\":\"ld\",\"displayName\":\"zuxylfsbtkadpyso\",\"currentValue\":86.65607552642484,\"limit\":7.676130945689518,\"unit\":\"grjqctojcmi\",\"nextResetTime\":\"2021-11-09T20:08:20Z\"}")
                .toObject(ServerUsageInner.class);
    }

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