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

package com.azure.resourcemanager.databox.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.databox.fluent.models.SkuProperties;

public final class SkuPropertiesTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        SkuProperties model =
            BinaryData
                .fromString(
                    "{\"dataLocationToServiceLocationMap\":[{\"dataLocation\":\"ijggmebfsiar\",\"serviceLocation\":\"trcvpnazzmh\"},{\"dataLocation\":\"unmpxttd\",\"serviceLocation\":\"rbnlankxmyskp\"},{\"dataLocation\":\"enbtkcxywny\",\"serviceLocation\":\"rsyn\"}],\"capacity\":{\"usable\":\"dybyxczfclhaa\",\"maximum\":\"babphlwrqlfk\"},\"costs\":[{\"meterId\":\"sucocmnyyazttbtw\",\"meterType\":\"qpuedckzywbiex\",\"multiplier\":78.08101138922657}],\"apiVersions\":[\"axibxujw\",\"hqwa\"],\"disabledReason\":\"Region\",\"disabledReasonMessage\":\"yoxa\",\"requiredFeature\":\"dkzjancuxrh\",\"countriesWithinCommerceBoundary\":[\"avxbniwdjswztsdb\",\"gnxytxhpzxbz\",\"fzab\",\"lcuhxwtctyqiklb\"]}")
                .toObject(SkuProperties.class);
    }

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