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

package com.azure.resourcemanager.orbital.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.orbital.models.ContactInstanceProperties;

public final class ContactInstancePropertiesTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        ContactInstanceProperties model =
            BinaryData
                .fromString(
                    "{\"maximumElevationDegrees\":4.8056006,\"txStartTime\":\"2021-06-26T03:11:11Z\",\"txEndTime\":\"2021-05-19T05:05:09Z\",\"rxStartTime\":\"2021-06-23T17:40:08Z\",\"rxEndTime\":\"2020-12-30T14:53:54Z\",\"startAzimuthDegrees\":97.51651,\"endAzimuthDegrees\":2.6833415,\"startElevationDegrees\":76.06833,\"endElevationDegrees\":28.941267}")
                .toObject(ContactInstanceProperties.class);
    }

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