@Test
public void testFindMentionsSingleMentionsInComment() {

    String commentText = "just a plain text mentioning @owner only";
    CommentNotificationEventListener listener = new CommentNotificationEventListener();
    
    List<String> found = listener.extractMentionedRoles(commentText);
    assertThat(found).hasSize(1);
    assertThat(found).contains("owner");
}