package de.gecheckt.pdf.umbenenner.adapter.in.gui;

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

import org.junit.jupiter.api.Test;

/**
 * Unit tests for {@link GuiAdapter}.
 * <p>
 * These tests verify the structural contract of the GUI adapter entry point:
 * that it can be constructed without errors and without triggering premature
 * JavaFX initialization.
 * <p>
 * The actual {@link GuiAdapter#start()} method delegates to
 * {@link javafx.application.Application#launch} which requires a JavaFX runtime.
 * Full GUI startup is tested separately via headless Monocle smoke tests.
 */
class GuiAdapterTest {

    @Test
    void constructorCreatesInstanceWithoutError() {
        GuiAdapter adapter = new GuiAdapter();
        assertNotNull(adapter);
    }
}
