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

package com.azure.resourcemanager.paloaltonetworks.ngfw.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.paloaltonetworks.ngfw.fluent.models.FirewallStatusProperty;

public final class FirewallStatusPropertyTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        FirewallStatusProperty model =
            BinaryData
                .fromString(
                    "{\"isPanoramaManaged\":\"TRUE\",\"healthStatus\":\"RED\",\"healthReason\":\"wdlenrdsut\",\"panoramaStatus\":{\"panoramaServerStatus\":\"UP\",\"panoramaServer2Status\":\"DOWN\"},\"provisioningState\":\"Succeeded\"}")
                .toObject(FirewallStatusProperty.class);
    }

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