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

public final class CustomerListResultTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        CustomerListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"billingProfileId\":\"kgj\",\"billingProfileDisplayName\":\"yoxgvcltbgsnc\",\"displayName\":\"kjeszz\",\"enabledAzurePlans\":[],\"resellers\":[]},\"id\":\"jhtxfvgxbfsmxne\",\"name\":\"mpvecxgodebfqk\",\"type\":\"rbmpukgri\"},{\"properties\":{\"billingProfileId\":\"zlfbxzpuzycispnq\",\"billingProfileDisplayName\":\"hmgkbrpyy\",\"displayName\":\"ibnuqqkpik\",\"enabledAzurePlans\":[],\"resellers\":[]},\"id\":\"gvtqagnbuynh\",\"name\":\"jggmebfsiarbu\",\"type\":\"rcvpnazzmhjrunmp\"}],\"totalCount\":18555434,\"nextLink\":\"bh\"}")
                .toObject(CustomerListResult.class);
    }

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