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

package com.azure.resourcemanager.devcenter.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.devcenter.models.EnvironmentTypeListResult;

public final class EnvironmentTypeListResultTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        EnvironmentTypeListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"provisioningState\":\"Deleting\"},\"tags\":{\"xbezyiuokktwh\":\"ozmyzydagfu\",\"o\":\"dxwzywqsmbsurexi\",\"fksymddystki\":\"yocf\",\"yudxorrqnbp\":\"uxh\"},\"id\":\"zvyifqrvkdvj\",\"name\":\"llr\",\"type\":\"vvdfwatkpnpul\"},{\"properties\":{\"provisioningState\":\"Creating\"},\"tags\":{\"okacspk\":\"wtruwiqzbqjvsovm\",\"jmflbvvnch\":\"lhzdobp\",\"ajiwkuo\":\"kcciwwzjuqkhr\",\"sauuimj\":\"oskg\"},\"id\":\"xieduugidyjrr\",\"name\":\"byao\",\"type\":\"v\"}],\"nextLink\":\"csonpclhoco\"}")
                .toObject(EnvironmentTypeListResult.class);
    }

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