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

package com.azure.resourcemanager.databox.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.databox.models.TransportAvailabilityResponse;

public final class TransportAvailabilityResponseTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        TransportAvailabilityResponse model =
            BinaryData
                .fromString(
                    "{\"transportAvailabilityDetails\":[{\"shipmentType\":\"MicrosoftManaged\"},{\"shipmentType\":\"CustomerManaged\"},{\"shipmentType\":\"MicrosoftManaged\"},{\"shipmentType\":\"CustomerManaged\"}]}")
                .toObject(TransportAvailabilityResponse.class);
    }

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