@Transactional(readOnly = true)
    public ArticlesPreviewResponse readLatestArticles() {
        List<ArticlePreviewResponse> articles = articleRepository.findLatest(MAX_ARTICLE_CARDS).stream()
                .map(ArticlePreviewResponse::from)
                .toList();
        return new ArticlesPreviewResponse(articles);
    }
@DisplayName("최신 아티클 3건 조회 성공")
    @Test
    void readLatestArticles() {
        // given
        articleRepository.save(ARTICLE_1);
        articleRepository.save(ARTICLE_2);
        articleRepository.save(ARTICLE_3);
        articleRepository.save(ARTICLE_4);

        // when
        List<String> articleTitles = articleService.readLatestArticles().articles().stream()
                .map(ArticlePreviewResponse::title)
                .toList();

        // then
        assertThat(articleTitles).containsExactly(ARTICLE_4.getTitle(), ARTICLE_3.getTitle(), ARTICLE_2.getTitle());
    }