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

package com.azure.resourcemanager.logic.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.logic.fluent.models.IntegrationAccountSessionProperties;

public final class IntegrationAccountSessionPropertiesTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        IntegrationAccountSessionProperties model =
            BinaryData
                .fromString(
                    "{\"createdTime\":\"2021-02-13T23:18:10Z\",\"changedTime\":\"2021-03-04T18:22:07Z\",\"content\":\"dataqzdz\"}")
                .toObject(IntegrationAccountSessionProperties.class);
    }

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