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

package com.azure.resourcemanager.datalakeanalytics.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.datalakeanalytics.fluent.models.DataLakeStoreAccountInformationInner;
import org.junit.jupiter.api.Assertions;

public final class DataLakeStoreAccountInformationInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        DataLakeStoreAccountInformationInner model =
            BinaryData
                .fromString(
                    "{\"properties\":{\"suffix\":\"orxzdmohctbqvud\"},\"name\":\"dndnvow\",\"type\":\"jjugwdkcglhslaz\",\"id\":\"yggdtjixh\"}")
                .toObject(DataLakeStoreAccountInformationInner.class);
        Assertions.assertEquals("yggdtjixh", model.id());
    }

    @org.junit.jupiter.api.Test
    public void testSerialize() throws Exception {
        DataLakeStoreAccountInformationInner model = new DataLakeStoreAccountInformationInner().withId("yggdtjixh");
        model = BinaryData.fromObject(model).toObject(DataLakeStoreAccountInformationInner.class);
        Assertions.assertEquals("yggdtjixh", model.id());
    }
}
