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

package com.azure.resourcemanager.datalakestore.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.datalakestore.fluent.models.CapabilityInformationInner;

public final class CapabilityInformationInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        CapabilityInformationInner model =
            BinaryData
                .fromString(
                    "{\"subscriptionId\":\"fdfc4063-6309-48c1-88e2-51379232b7d4\",\"state\":\"Warned\",\"maxAccountCount\":1613770943,\"accountCount\":45811298,\"migrationState\":true}")
                .toObject(CapabilityInformationInner.class);
    }

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