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

package com.azure.resourcemanager.datalakeanalytics.generated;

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

public final class CapabilityInformationInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        CapabilityInformationInner model =
            BinaryData
                .fromString(
                    "{\"subscriptionId\":\"d05722ab-fc99-4ea6-bae5-f7648a75ac8c\",\"state\":\"Registered\",\"maxAccountCount\":1687454547,\"accountCount\":1673515128,\"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);
    }
}
