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

public final class ProjectListResultTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        ProjectListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"provisioningState\":\"StorageProvisioningFailed\",\"devCenterUri\":\"rgqjbpfzfsinzg\",\"devCenterId\":\"cjrwzoxxjtfellu\",\"description\":\"zitonpeqfpjkjl\",\"maxDevBoxesPerUser\":864037829},\"location\":\"dvhpfxxypininm\",\"tags\":{\"oginuvamiheognar\":\"uybbkpodep\"},\"id\":\"zxtheotusivyevcc\",\"name\":\"qi\",\"type\":\"nhungbw\"},{\"properties\":{\"provisioningState\":\"TransientFailure\",\"devCenterUri\":\"ygxgispemvtz\",\"devCenterId\":\"ufubl\",\"description\":\"fxqeof\",\"maxDevBoxesPerUser\":56034680},\"location\":\"jhqjbasvmsmjqul\",\"tags\":{\"wrwclxxwrljd\":\"ntnbybkzg\",\"kwt\":\"uskcqvkocrcj\",\"ssainqpjwnzll\":\"hxbnjbiksqrg\"},\"id\":\"fmppe\",\"name\":\"bvmgxsabkyqduuji\",\"type\":\"c\"},{\"properties\":{\"provisioningState\":\"Succeeded\",\"devCenterUri\":\"evndh\",\"devCenterId\":\"wpdappdsbdkv\",\"description\":\"wjfeusnhutjel\",\"maxDevBoxesPerUser\":391471833},\"location\":\"dhugjzzdatqxhocd\",\"tags\":{\"vkaozwyiftyhxhur\":\"blgphuticn\",\"tyxolniwpwc\":\"k\",\"awxklr\":\"kjfkg\",\"ypnddhsgcb\":\"plwckbas\"},\"id\":\"cph\",\"name\":\"jkot\",\"type\":\"nqgoulzndli\"}],\"nextLink\":\"yqkgfg\"}")
                .toObject(ProjectListResult.class);
    }

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