// File generated from our OpenAPI spec by Stainless.

package com.openai.models.beta.threads.messages

import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test

class ImageUrlDeltaTest {

    @Test
    fun createImageUrlDelta() {
        val imageUrlDelta =
            ImageUrlDelta.builder().detail(ImageUrlDelta.Detail.AUTO).url("url").build()
        assertThat(imageUrlDelta).isNotNull
        assertThat(imageUrlDelta.detail()).contains(ImageUrlDelta.Detail.AUTO)
        assertThat(imageUrlDelta.url()).contains("url")
    }
}
