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

package com.azure.resourcemanager.databoxedge.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.databoxedge.fluent.models.NodeInner;

public final class NodeInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        NodeInner model =
            BinaryData
                .fromString(
                    "{\"properties\":{\"nodeStatus\":\"Up\",\"nodeChassisSerialNumber\":\"cq\",\"nodeSerialNumber\":\"ccm\",\"nodeDisplayName\":\"udxytlmoyrx\",\"nodeFriendlySoftwareVersion\":\"fudwpznt\",\"nodeHcsVersion\":\"dzhlrq\",\"nodeInstanceId\":\"hckfrlhrx\"},\"id\":\"bkyvp\",\"name\":\"ca\",\"type\":\"uzbpzkafku\"}")
                .toObject(NodeInner.class);
    }

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