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

package com.azure.resourcemanager.databricks.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.databricks.models.CreatedBy;

public final class CreatedByTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        CreatedBy model =
            BinaryData
                .fromString(
                    "{\"oid\":\"d98edc34-6ad1-4d2d-9641-917b45563bda\",\"puid\":\"ldhugjzzdatqxh\",\"applicationId\":\"c0c78437-4350-418a-9905-82050a57b994\"}")
                .toObject(CreatedBy.class);
    }

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