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

package com.azure.resourcemanager.education.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.education.models.StudentLabListResult;
import org.junit.jupiter.api.Test;

public final class StudentLabListResultTests {
    @Test
    public void testDeserialize() {
        StudentLabListResult model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"displayName\":\"fycc\",\"description\":\"ewmdw\",\"expirationDate\":\"2021-10-02T07:46:47Z\",\"role\":\"Student\",\"subscriptionId\":\"boo\",\"status\":\"Expired\",\"effectiveDate\":\"2021-10-26T17:11:13Z\",\"labScope\":\"sfqpteehz\"},\"id\":\"ypyqrimzinp\",\"name\":\"swjdkirso\",\"type\":\"dqxhcrmnohjtckwh\"},{\"properties\":{\"displayName\":\"ifiyipjxsqwpgrj\",\"description\":\"norcjxvsnbyxqab\",\"expirationDate\":\"2021-01-31T04:10:32Z\",\"role\":\"Student\",\"subscriptionId\":\"shurzafbljjgpbto\",\"status\":\"Expired\",\"effectiveDate\":\"2021-08-23T17:30:32Z\",\"labScope\":\"javbqidtqajz\"},\"id\":\"l\",\"name\":\"kudjkrlkhb\",\"type\":\"hfepgzgqex\"},{\"properties\":{\"displayName\":\"c\",\"description\":\"c\",\"expirationDate\":\"2021-01-04T21:09:36Z\",\"role\":\"Student\",\"subscriptionId\":\"bcsglumma\",\"status\":\"Active\",\"effectiveDate\":\"2021-07-24T00:15:50Z\",\"labScope\":\"xobnbdxkqpxok\"},\"id\":\"ionpimexg\",\"name\":\"txgcpodgmaajr\",\"type\":\"vdjwzrlovm\"},{\"properties\":{\"displayName\":\"hijco\",\"description\":\"ctbzaq\",\"expirationDate\":\"2021-02-04T17:33:10Z\",\"role\":\"Student\",\"subscriptionId\":\"bfkgukdkex\",\"status\":\"Expired\",\"effectiveDate\":\"2021-12-06T23:26:40Z\",\"labScope\":\"xaxcfjpgddtocjjx\"},\"id\":\"pmouexhdz\",\"name\":\"i\",\"type\":\"qeojnxqbzvddntw\"}],\"nextLink\":\"eic\"}")
                .toObject(StudentLabListResult.class);
    }

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