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

package com.azure.resourcemanager.loadtesting.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.loadtesting.models.EndpointDetail;
import org.junit.jupiter.api.Test;

public final class EndpointDetailTests {
    @Test
    public void testDeserialize() throws Exception {
        EndpointDetail model = BinaryData.fromString("{\"port\":1629637737}").toObject(EndpointDetail.class);
    }

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