// 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.PreviewSubscriptionProperties;
import org.junit.jupiter.api.Test;

public final class PreviewSubscriptionPropertiesTests {
    @Test
    public void testDeserialize() {
        PreviewSubscriptionProperties model =
            BinaryData.fromString("{\"provisioningState\":\"Canceled\"}").toObject(PreviewSubscriptionProperties.class);
    }

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