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

package com.azure.resourcemanager.appconfiguration.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.appconfiguration.fluent.models.NameAvailabilityStatusInner;

public final class NameAvailabilityStatusInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        NameAvailabilityStatusInner model =
            BinaryData
                .fromString("{\"nameAvailable\":false,\"message\":\"wu\",\"reason\":\"gazxuf\"}")
                .toObject(NameAvailabilityStatusInner.class);
    }

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