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

package com.azure.resourcemanager.networkfunction.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.networkfunction.models.ResourceReference;
import org.junit.jupiter.api.Test;

public final class ResourceReferenceTests {
    @Test
    public void testDeserialize() {
        ResourceReference model = BinaryData.fromString("{\"id\":\"qfpjk\"}").toObject(ResourceReference.class);
    }

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