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

package com.azure.resourcemanager.costmanagement.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.costmanagement.fluent.models.ExportListResultInner;

public final class ExportListResultInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        ExportListResultInner model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"format\":\"Csv\",\"partitionData\":false,\"nextRunTimeEstimate\":\"2021-07-02T15:25:21Z\"},\"eTag\":\"fatpxllrxcyjmoa\",\"id\":\"su\",\"name\":\"arm\",\"type\":\"wdmjsjqbjhhyx\"},{\"properties\":{\"format\":\"Csv\",\"partitionData\":false,\"nextRunTimeEstimate\":\"2021-02-27T00:57:42Z\"},\"eTag\":\"kxkgymareqna\",\"id\":\"xqugjhkycubedd\",\"name\":\"ssofwqmzqa\",\"type\":\"krmnjijpxacqqud\"},{\"properties\":{\"format\":\"Csv\",\"partitionData\":true,\"nextRunTimeEstimate\":\"2021-12-06T14:29:26Z\"},\"eTag\":\"yvayffimrzr\",\"id\":\"uzqogsexnevf\",\"name\":\"nwnwme\",\"type\":\"zsyyceuzso\"}]}")
                .toObject(ExportListResultInner.class);
    }

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