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

package com.azure.resourcemanager.subscription.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.subscription.fluent.models.LocationInner;

public final class LocationInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        LocationInner model =
            BinaryData
                .fromString(
                    "{\"id\":\"pewnw\",\"subscriptionId\":\"itjz\",\"name\":\"lusarh\",\"displayName\":\"fcqhsmyurkd\",\"latitude\":\"lx\",\"longitude\":\"kuksjtxukcdm\"}")
                .toObject(LocationInner.class);
    }

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