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

public final class BillingPeriodsListResultTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        BillingPeriodsListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"invoiceIds\":[]},\"id\":\"lcwkhihihlhz\",\"name\":\"sqtzbsrg\",\"type\":\"o\"}],\"nextLink\":\"jhf\"}")
                .toObject(BillingPeriodsListResult.class);
    }

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