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

package com.azure.resourcemanager.reservations.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.reservations.models.ReservationUtilizationAggregates;

public final class ReservationUtilizationAggregatesTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        ReservationUtilizationAggregates model =
            BinaryData
                .fromString(
                    "{\"grain\":84.77034,\"grainUnit\":\"tpngjcrcczsqpjh\",\"value\":15.68377,\"valueUnit\":\"jvnysounqe\"}")
                .toObject(ReservationUtilizationAggregates.class);
    }

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