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

package com.azure.resourcemanager.workloads.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.workloads.models.MessageServerProperties;

public final class MessageServerPropertiesTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        MessageServerProperties model =
            BinaryData
                .fromString(
                    "{\"msPort\":2253353584396123190,\"internalMsPort\":4756233524739772773,\"httpPort\":159667534034002555,\"httpsPort\":8346750306601023663,\"hostname\":\"zrlovmclwhijcoej\",\"ipAddress\":\"bzaqsqsycbkbfk\",\"health\":\"Healthy\"}")
                .toObject(MessageServerProperties.class);
    }

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