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

package com.azure.resourcemanager.billing.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.billing.models.Document;

public final class DocumentTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        Document model =
            BinaryData
                .fromString("{\"kind\":\"VoidNote\",\"url\":\"egokdwbwhkszzcmr\",\"source\":\"ENF\"}")
                .toObject(Document.class);
    }

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