// 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.models.ServerVersionCapability;

public final class ServerVersionCapabilityTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        ServerVersionCapability model =
            BinaryData
                .fromString(
                    "{\"name\":\"zjuqkhrsaj\",\"supportedSkus\":[{\"name\":\"ofoskghs\",\"vCores\":7334574875693973004,\"supportedIops\":6549860277400431394,\"supportedMemoryPerVCoreMB\":5129594388409222078}]}")
                .toObject(ServerVersionCapability.class);
    }

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