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

package com.azure.resourcemanager.peering.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.peering.models.PeeringServicePrefixEvent;

public final class PeeringServicePrefixEventTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        PeeringServicePrefixEvent model =
            BinaryData
                .fromString(
                    "{\"eventTimestamp\":\"2021-01-14T03:20:45Z\",\"eventType\":\"kzbbtd\",\"eventSummary\":\"mv\",\"eventLevel\":\"kgpwoz\",\"eventDescription\":\"kfpbs\"}")
                .toObject(PeeringServicePrefixEvent.class);
    }

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