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

package com.azure.resourcemanager.synapse.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.synapse.fluent.models.DataWarehouseUserActivitiesInner;

public final class DataWarehouseUserActivitiesInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        DataWarehouseUserActivitiesInner model =
            BinaryData
                .fromString(
                    "{\"properties\":{\"activeQueriesCount\":297001975},\"id\":\"nalaulppg\",\"name\":\"dtpnapnyiropuhp\",\"type\":\"gvpgy\"}")
                .toObject(DataWarehouseUserActivitiesInner.class);
    }

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