def test_sample_comments(mock_reddit):
    r = mock_reddit.return_value
    patch('praw.')

    yesterday_posts = 10
    today_posts = 20

    controller, today_post_list, comment_counter = setup_comment_monitoring(r, yesterday_posts, today_posts)
    posts = controller.identify_posts_that_need_snapshotting()
    assert len(posts) == today_posts