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

package com.azure.resourcemanager.storagemover.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.storagemover.models.EndpointList;

public final class EndpointListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        EndpointList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"endpointType\":\"EndpointBaseProperties\",\"description\":\"tyxolniwpwc\",\"provisioningState\":\"Succeeded\"},\"id\":\"fkgiawxk\",\"name\":\"ryplwckbasyypn\",\"type\":\"dhsgcba\"}],\"nextLink\":\"hejkotynqgou\"}")
                .toObject(EndpointList.class);
    }

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