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

package com.azure.resourcemanager.agrifood.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.agrifood.fluent.models.ExtensionInner;
import org.junit.jupiter.api.Test;

public final class ExtensionInnerTests {
    @Test
    public void testDeserialize() {
        ExtensionInner model =
            BinaryData
                .fromString(
                    "{\"properties\":{\"extensionId\":\"hq\",\"extensionCategory\":\"gjxpybczmehmt\",\"installedExtensionVersion\":\"pbsphrupidgs\",\"extensionAuthLink\":\"bejhphoycmsxa\",\"extensionApiDocsLink\":\"hdxbmtqio\"},\"eTag\":\"zehtbmu\",\"id\":\"p\",\"name\":\"wnoi\",\"type\":\"hwlrx\"}")
                .toObject(ExtensionInner.class);
    }

    @Test
    public void testSerialize() {
        ExtensionInner model = new ExtensionInner();
        model = BinaryData.fromObject(model).toObject(ExtensionInner.class);
    }
}
