// 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.ProjectList;

public final class ProjectListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        ProjectList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"description\":\"rcjxvsnbyxqabn\",\"provisioningState\":\"Succeeded\"},\"id\":\"cyshurzafbljjgp\",\"name\":\"toqcjmklja\",\"type\":\"bqidtqaj\"},{\"properties\":{\"description\":\"l\",\"provisioningState\":\"Succeeded\"},\"id\":\"jkrlkhbzhfepg\",\"name\":\"gqexzlocxs\",\"type\":\"paierh\"}],\"nextLink\":\"csglum\"}")
                .toObject(ProjectList.class);
    }

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