package com.yaoai.api.dto.ai;

import com.yaoai.domain.entity.Storyboard;
import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertEquals;

class StoryboardDTOTest {

    @Test
    void fromExposesSceneRefAndVideoPrompt() {
        Storyboard storyboard = new Storyboard();
        storyboard.setSceneRef("scene-ref-001");
        storyboard.setVideoPrompt("A slow dolly-in across the moonlit alley.");

        StoryboardDTO dto = StoryboardDTO.from(storyboard);

        assertEquals("scene-ref-001", dto.getSceneRef());
        assertEquals("A slow dolly-in across the moonlit alley.", dto.getVideoPrompt());
    }
}
