// 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.fluent.models.StudentLabProperties;
import org.junit.jupiter.api.Test;

public final class StudentLabPropertiesTests {
    @Test
    public void testDeserialize() {
        StudentLabProperties model =
            BinaryData
                .fromString(
                    "{\"displayName\":\"hrzayvvtpgvdf\",\"description\":\"otkftutqxlngx\",\"expirationDate\":\"2021-12-03T02:20:16Z\",\"role\":\"Admin\",\"budget\":{\"currency\":\"xkrxdqmi\",\"value\":15.739637},\"subscriptionId\":\"zrvqdr\",\"status\":\"Disabled\",\"effectiveDate\":\"2021-09-24T23:35:33Z\",\"labScope\":\"igeho\"}")
                .toObject(StudentLabProperties.class);
    }

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