// 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.FastProvisioningEditionCapability;

public final class FastProvisioningEditionCapabilityTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        FastProvisioningEditionCapability model =
            BinaryData
                .fromString(
                    "{\"supportedTier\":\"dwzjeiach\",\"supportedSku\":\"osfln\",\"supportedStorageGb\":13730136,\"supportedServerVersions\":\"qpteeh\",\"serverCount\":1130087895,\"status\":\"Visible\",\"reason\":\"qrimzinpv\"}")
                .toObject(FastProvisioningEditionCapability.class);
    }

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