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

package com.azure.resourcemanager.storagecache.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.storagecache.models.ResourceUsagesListResult;

public final class ResourceUsagesListResultTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        ResourceUsagesListResult model =
            BinaryData
                .fromString(
                    "{\"nextLink\":\"conuqszfkbeype\",\"value\":[{\"limit\":1769488182,\"unit\":\"vvjektcxsenhwlrs\",\"currentValue\":1160903159,\"name\":{\"value\":\"wvlqdqgb\",\"localizedValue\":\"ylihkaetckt\"}},{\"limit\":1161915494,\"unit\":\"vf\",\"currentValue\":1439839130,\"name\":{\"value\":\"uctqhjfbe\",\"localizedValue\":\"jcxerfuwu\"}},{\"limit\":743526122,\"unit\":\"fvjrbirphxepcy\",\"currentValue\":1901169400,\"name\":{\"value\":\"ljkyqxjvuuj\",\"localizedValue\":\"idokgjlj\"}}]}")
                .toObject(ResourceUsagesListResult.class);
    }

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