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

package com.azure.resourcemanager.desktopvirtualization.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.desktopvirtualization.models.MsixImageUri;
import org.junit.jupiter.api.Assertions;

public final class MsixImageUriTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        MsixImageUri model = BinaryData.fromString("{\"uri\":\"nyowxwlmdjrkvfg\"}").toObject(MsixImageUri.class);
        Assertions.assertEquals("nyowxwlmdjrkvfg", model.uri());
    }

    @org.junit.jupiter.api.Test
    public void testSerialize() throws Exception {
        MsixImageUri model = new MsixImageUri().withUri("nyowxwlmdjrkvfg");
        model = BinaryData.fromObject(model).toObject(MsixImageUri.class);
        Assertions.assertEquals("nyowxwlmdjrkvfg", model.uri());
    }
}
