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

package com.azure.resourcemanager.digitaltwins.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.digitaltwins.models.ExternalResource;

public final class ExternalResourceTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        ExternalResource model =
            BinaryData
                .fromString("{\"id\":\"vkmijcmmxdcuf\",\"name\":\"fsrpymzidnse\",\"type\":\"cxtbzsg\"}")
                .toObject(ExternalResource.class);
    }

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