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

package com.azure.resourcemanager.mysqlflexibleserver.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.mysqlflexibleserver.fluent.models.CapabilityPropertiesInner;

public final class CapabilityPropertiesInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        CapabilityPropertiesInner model =
            BinaryData
                .fromString(
                    "{\"zone\":\"u\",\"supportedHAMode\":[\"hfuiuaodsfc\",\"kvxod\",\"uozmyzydagfua\",\"bezy\"],\"supportedGeoBackupRegions\":[\"kktwhrdxw\",\"ywqsmbsurexim\",\"ryocfsfksymdd\"],\"supportedFlexibleServerEditions\":[{\"name\":\"i\",\"supportedStorageEditions\":[],\"supportedServerVersions\":[]}]}")
                .toObject(CapabilityPropertiesInner.class);
    }

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