// 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.FarmBeatsExtensionInner;
import org.junit.jupiter.api.Test;

public final class FarmBeatsExtensionInnerTests {
    @Test
    public void testDeserialize() {
        FarmBeatsExtensionInner model =
            BinaryData
                .fromString(
                    "{\"properties\":{\"targetResourceType\":\"wfndiodjpsl\",\"farmBeatsExtensionId\":\"jdpvwryo\",\"farmBeatsExtensionName\":\"soacctazakl\",\"farmBeatsExtensionVersion\":\"ahbc\",\"publisherId\":\"ffdfdosygexpa\",\"description\":\"akhmsbzjhcrz\",\"extensionCategory\":\"dphlxaolt\",\"extensionAuthLink\":\"trg\",\"extensionApiDocsLink\":\"bpf\",\"detailedInformation\":[{\"apiName\":\"n\",\"customParameters\":[],\"platformParameters\":[],\"apiInputParameters\":[]}]},\"id\":\"rwzoxxjtfelluwf\",\"name\":\"it\",\"type\":\"np\"}")
                .toObject(FarmBeatsExtensionInner.class);
    }

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