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

package com.azure.resourcemanager.synapse.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.synapse.models.EntityResource;

public final class EntityResourceTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        EntityResource model =
            BinaryData
                .fromString(
                    "{\"etag\":\"mspofapvuhryl\",\"id\":\"iofrzgbzjedmstk\",\"name\":\"nlvxbcuii\",\"type\":\"nktwfansnvpdibmi\"}")
                .toObject(EntityResource.class);
    }

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