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

package com.azure.resourcemanager.datalakestore.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.datalakestore.fluent.models.DataLakeStoreAccountPropertiesBasic;

public final class DataLakeStoreAccountPropertiesBasicTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        DataLakeStoreAccountPropertiesBasic model =
            BinaryData
                .fromString(
                    "{\"accountId\":\"c07fa123-1c61-41e1-a749-6c9124ac08e2\",\"provisioningState\":\"Creating\",\"state\":\"Suspended\",\"creationTime\":\"2021-01-26T08:15:51Z\",\"lastModifiedTime\":\"2021-10-27T17:34:25Z\",\"endpoint\":\"wlokjyem\"}")
                .toObject(DataLakeStoreAccountPropertiesBasic.class);
    }

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