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

package com.azure.resourcemanager.networkcloud.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.networkcloud.fluent.models.RackSkuInner;

public final class RackSkuInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        RackSkuInner model =
            BinaryData
                .fromString(
                    "{\"properties\":{\"computeMachines\":[{\"rackSlot\":2852050397956095725},{\"rackSlot\":5836746771606247390},{\"rackSlot\":2048885841709713152},{\"rackSlot\":5531211754310429800}],\"controllerMachines\":[{\"rackSlot\":8453503408932380902},{\"rackSlot\":4117453456715054302},{\"rackSlot\":4507235705510904790}],\"description\":\"kwpjgwwspughftqs\",\"maxClusterSlots\":3252241777928614661,\"provisioningState\":\"Succeeded\",\"rackType\":\"Compute\",\"storageAppliances\":[{\"rackSlot\":8951761838389562735},{\"rackSlot\":8116661577265939603},{\"rackSlot\":4469134217974888911},{\"rackSlot\":6715661271748105813}],\"supportedRackSkuIds\":[\"fi\"]},\"id\":\"hbotzingamvppho\",\"name\":\"zqzudph\",\"type\":\"amvdkfwynwcvtbv\"}")
                .toObject(RackSkuInner.class);
    }

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