package de.thpeetz.kontor.comics.data;

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

import java.util.List;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import de.thpeetz.kontor.comics.services.ComicService;

@SpringBootTest
public class ComicWorkTest {

    @Autowired
    private ComicService comicService; 

    @Test
    void checkInitialDataLoad() {
        List<ComicWork> comicWorks = comicService.findAllComicWorks();
        assertEquals(18, comicWorks.size()); 
    }
}
