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

package com.azure.resourcemanager.hybridcompute.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.hybridcompute.fluent.models.OperationValueInner;
import com.azure.resourcemanager.hybridcompute.models.OperationValueDisplay;

public final class OperationValueInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        OperationValueInner model =
            BinaryData
                .fromString(
                    "{\"origin\":\"dzxibqeojnxqbzvd\",\"name\":\"t\",\"display\":{\"operation\":\"eic\",\"resource\":\"w\",\"description\":\"zao\",\"provider\":\"uhrhcffcyddgl\"}}")
                .toObject(OperationValueInner.class);
    }

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