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

package com.azure.resourcemanager.mediaservices.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.mediaservices.models.LiveEventActionInput;
import org.junit.jupiter.api.Assertions;

public final class LiveEventActionInputTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        LiveEventActionInput model =
            BinaryData.fromString("{\"removeOutputsOnStop\":false}").toObject(LiveEventActionInput.class);
        Assertions.assertEquals(false, model.removeOutputsOnStop());
    }

    @org.junit.jupiter.api.Test
    public void testSerialize() throws Exception {
        LiveEventActionInput model = new LiveEventActionInput().withRemoveOutputsOnStop(false);
        model = BinaryData.fromObject(model).toObject(LiveEventActionInput.class);
        Assertions.assertEquals(false, model.removeOutputsOnStop());
    }
}
