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

package tsptest.specialheaders.generated;

import com.azure.core.http.RequestConditions;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import tsptest.specialheaders.models.Resource;

@Disabled
public final class EtagHeadersPutWithRequestHeadersTests extends SpecialHeadersClientTestBase {
    @Test
    @Disabled
    public void testEtagHeadersPutWithRequestHeadersTests() {
        // method invocation
        Resource response = etagHeadersClient.putWithRequestHeaders("name",
            new Resource().setDescription("This is sample for Etag headers").setType("myType"),
            new RequestConditions().setIfMatch("\"64e005\""));

        // response assertion
        Assertions.assertNotNull(response);
        // verify property "id"
        Assertions.assertEquals("myId", response.getId());
        // verify property "name"
        Assertions.assertEquals("name", response.getName());
        // verify property "description"
        Assertions.assertEquals("This is sample for Etag headers", response.getDescription());
        // verify property "type"
        Assertions.assertEquals("myType", response.getType());
    }
}
