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

package com.azure.resourcemanager.billing.generated;

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

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

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