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

package com.azure.resourcemanager.mariadb.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.mariadb.fluent.models.AdvisorInner;

public final class AdvisorInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        AdvisorInner model =
            BinaryData
                .fromString(
                    "{\"properties\":\"dataongmtsa\",\"id\":\"jcbpwxqpsrknft\",\"name\":\"uvriuhprwm\",\"type\":\"yvxqtayriwwroy\"}")
                .toObject(AdvisorInner.class);
    }

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