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

package com.azure.resourcemanager.postgresqlflexibleserver.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.postgresqlflexibleserver.models.ServerVersionCapability;

public final class ServerVersionCapabilityTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        ServerVersionCapability model =
            BinaryData
                .fromString(
                    "{\"name\":\"dfvzwdzuhty\",\"supportedVersionsToUpgrade\":[\"sdkf\",\"hwxmnteiwa\",\"pvkmijcmmxdcuf\",\"fsrpymzidnse\"],\"status\":\"Disabled\",\"reason\":\"bzsgfyccsne\"}")
                .toObject(ServerVersionCapability.class);
    }

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