// 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.DatacenterAddressLocationResponse;

public final class DatacenterAddressLocationResponseTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        DatacenterAddressLocationResponse model =
            BinaryData
                .fromString(
                    "{\"datacenterAddressType\":\"DatacenterAddressLocation\",\"contactPersonName\":\"dlxyjrxs\",\"company\":\"afcnih\",\"street1\":\"qapnedgfbcv\",\"street2\":\"vq\",\"street3\":\"keqdcvdrhvoods\",\"city\":\"bobzdopcjwvnhd\",\"state\":\"wmgxcxrsl\",\"zip\":\"utwu\",\"country\":\"grpkhjwniyqs\",\"phone\":\"i\",\"phoneExtension\":\"dggkzzlvmbmpa\",\"addressType\":\"odfvuefywsbp\",\"additionalShippingInformation\":\"mwyhr\",\"supportedCarriersForReturnShipment\":[\"yftaakcpw\",\"yzvqt\"],\"dataCenterAzureLocation\":\"ubex\"}")
                .toObject(DatacenterAddressLocationResponse.class);
    }

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