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

package com.azure.resourcemanager.recoveryservices.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.recoveryservices.models.PrivateLinkServiceConnectionState;

public final class PrivateLinkServiceConnectionStateTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        PrivateLinkServiceConnectionState model =
            BinaryData
                .fromString(
                    "{\"status\":\"Approved\",\"description\":\"keyyi\",\"actionsRequired\":\"jbdlwtgrhpdjpju\"}")
                .toObject(PrivateLinkServiceConnectionState.class);
    }

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