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

package com.azure.resourcemanager.hybridnetwork.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.hybridnetwork.fluent.models.PreviewSubscriptionInner;
import org.junit.jupiter.api.Test;

public final class PreviewSubscriptionInnerTests {
    @Test
    public void testDeserialize() {
        PreviewSubscriptionInner model =
            BinaryData
                .fromString(
                    "{\"properties\":{\"provisioningState\":\"Canceled\"},\"id\":\"agfuaxbezyiu\",\"name\":\"kktwhrdxw\",\"type\":\"ywqsmbsurexim\"}")
                .toObject(PreviewSubscriptionInner.class);
    }

    @Test
    public void testSerialize() {
        PreviewSubscriptionInner model = new PreviewSubscriptionInner();
        model = BinaryData.fromObject(model).toObject(PreviewSubscriptionInner.class);
    }
}
