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

public final class StudentLabDetailsInnerTests {
    @Test
    public void testDeserialize() {
        StudentLabDetailsInner model =
            BinaryData
                .fromString(
                    "{\"properties\":{\"displayName\":\"npzaoq\",\"description\":\"hrhcffcyddglmjth\",\"expirationDate\":\"2021-09-21T02:31:34Z\",\"role\":\"Student\",\"budget\":{\"currency\":\"icxm\",\"value\":39.259743},\"subscriptionId\":\"q\",\"status\":\"Active\",\"effectiveDate\":\"2021-03-25T23:46:11Z\",\"labScope\":\"uigdtopbobjog\"},\"id\":\"e\",\"name\":\"u\",\"type\":\"m\"}")
                .toObject(StudentLabDetailsInner.class);
    }

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