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

package com.azure.resourcemanager.subscription.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.subscription.fluent.models.PutAliasListResultInner;

public final class PutAliasListResultInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        PutAliasListResultInner model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"subscriptionId\":\"ypyqrimzinp\",\"provisioningState\":\"Failed\"},\"id\":\"jdkirsoodqx\",\"name\":\"crmnohjtckwhds\",\"type\":\"ifiyipjxsqwpgrj\"},{\"properties\":{\"subscriptionId\":\"orcjxvsnby\",\"provisioningState\":\"Failed\"},\"id\":\"bnmo\",\"name\":\"pcyshu\",\"type\":\"zafb\"},{\"properties\":{\"subscriptionId\":\"gpbtoqcjmklj\",\"provisioningState\":\"Succeeded\"},\"id\":\"qidtqajzyu\",\"name\":\"pku\",\"type\":\"jkrlkhbzhfepg\"},{\"properties\":{\"subscriptionId\":\"e\",\"provisioningState\":\"Accepted\"},\"id\":\"ocxscpaierhhbcs\",\"name\":\"l\",\"type\":\"mmajtjaodx\"}],\"nextLink\":\"nbdxk\"}")
                .toObject(PutAliasListResultInner.class);
    }

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