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

package com.azure.resourcemanager.appcomplianceautomation.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.appcomplianceautomation.models.ControlFamily;
import org.junit.jupiter.api.Test;

public final class ControlFamilyTests {
    @Test
    public void testDeserialize() {
        ControlFamily model =
            BinaryData
                .fromString(
                    "{\"familyName\":\"zzvdudgwds\",\"familyType\":\"Manual\",\"familyStatus\":\"Unhealthy\",\"controls\":[{\"controlId\":\"ynpwlbj\",\"controlShortName\":\"gacftadeh\",\"controlFullName\":\"ltyfsop\",\"controlType\":\"Manual\",\"controlDescription\":\"esnzwde\",\"controlDescriptionHyperLink\":\"avo\",\"controlStatus\":\"Passed\",\"assessments\":[]}]}")
                .toObject(ControlFamily.class);
    }

    @Test
    public void testSerialize() {
        ControlFamily model = new ControlFamily();
        model = BinaryData.fromObject(model).toObject(ControlFamily.class);
    }
}
