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

package com.azure.resourcemanager.devcenter.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.devcenter.models.CatalogListResult;

public final class CatalogListResultTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        CatalogListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"provisioningState\":\"Running\",\"syncState\":\"Canceled\",\"lastSyncTime\":\"2021-10-22T08:49:49Z\"},\"id\":\"ohctbqvudwx\",\"name\":\"ndnvo\",\"type\":\"gujjugwdkcglh\"}],\"nextLink\":\"azjdyggd\"}")
                .toObject(CatalogListResult.class);
    }

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