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

package com.azure.resourcemanager.resourceconnector.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.resourceconnector.models.SupportedVersionCatalogVersion;

public final class SupportedVersionCatalogVersionTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        SupportedVersionCatalogVersion model =
            BinaryData
                .fromString(
                    "{\"data\":{\"audience\":\"uticndvkaozwyif\",\"catalog\":\"hxh\",\"offer\":\"okftyxolniwpwcuk\",\"version\":\"kgiawxklryplwck\"},\"name\":\"syyp\",\"namespace\":\"dhsgcba\"}")
                .toObject(SupportedVersionCatalogVersion.class);
    }

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