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

public final class AlertsResultInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        AlertsResultInner model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"description\":\"vqdra\",\"source\":\"Preset\",\"costEntityId\":\"igeho\",\"status\":\"Dismissed\",\"creationTime\":\"wska\",\"closeTime\":\"ktzlcuiywg\",\"modificationTime\":\"wgndrvynhzgpp\",\"statusModificationUserName\":\"cgyncocpecf\",\"statusModificationTime\":\"mcoo\"},\"eTag\":\"xlzevgbmqjqabcy\",\"id\":\"mivkwlzuvcc\",\"name\":\"wnfnbacf\",\"type\":\"onlebxetqgtzxdpn\"}],\"nextLink\":\"qqwx\"}")
                .toObject(AlertsResultInner.class);
    }

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