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

public final class InvoiceSectionListResultTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        InvoiceSectionListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"displayName\":\"wzbaiue\",\"labels\":{},\"state\":\"Active\",\"systemId\":\"nyqupedeojnabck\",\"tags\":{},\"targetCloud\":\"USNat\"},\"id\":\"xpsiebtfhvpes\",\"name\":\"pskrdqmh\",\"type\":\"jdhtldwkyzxu\"},{\"properties\":{\"displayName\":\"ncwscwsvlxoto\",\"labels\":{},\"state\":\"Restricted\",\"systemId\":\"pqsxvnmicy\",\"tags\":{},\"targetCloud\":\"USSec\"},\"id\":\"o\",\"name\":\"eil\",\"type\":\"vnotyfjfcnj\"}],\"totalCount\":534363981,\"nextLink\":\"x\"}")
                .toObject(InvoiceSectionListResult.class);
    }

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