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

package com.azure.resourcemanager.appcontainers.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.appcontainers.fluent.models.RevisionInner;

public final class RevisionInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        RevisionInner model =
            BinaryData
                .fromString(
                    "{\"properties\":{\"createdTime\":\"2021-02-23T02:35:37Z\",\"lastActiveTime\":\"2021-04-21T01:27:36Z\",\"fqdn\":\"emfnczdwvvbal\",\"template\":{\"revisionSuffix\":\"lchpodbzevwrdn\",\"initContainers\":[],\"containers\":[],\"volumes\":[]},\"active\":false,\"replicas\":1208732585,\"trafficWeight\":195968189,\"provisioningError\":\"tuluq\",\"healthState\":\"Healthy\",\"provisioningState\":\"Deprovisioned\"},\"id\":\"er\",\"name\":\"hp\",\"type\":\"bm\"}")
                .toObject(RevisionInner.class);
    }

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