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

package com.azure.resourcemanager.netapp.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.netapp.fluent.models.SubscriptionQuotaItemInner;

public final class SubscriptionQuotaItemInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        SubscriptionQuotaItemInner model =
            BinaryData
                .fromString(
                    "{\"properties\":{\"current\":524649765,\"default\":1465460192},\"id\":\"ajrmvdjwzrlovmc\",\"name\":\"whijcoejctbza\",\"type\":\"s\"}")
                .toObject(SubscriptionQuotaItemInner.class);
    }

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