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

package com.azure.resourcemanager.billing.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.billing.fluent.models.EnrollmentAccountSummaryInner;

public final class EnrollmentAccountSummaryInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        EnrollmentAccountSummaryInner model =
            BinaryData
                .fromString(
                    "{\"properties\":{\"principalName\":\"dp\"},\"id\":\"s\",\"name\":\"wn\",\"type\":\"tgkbugrjqctojc\"}")
                .toObject(EnrollmentAccountSummaryInner.class);
    }

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