@Test
public void testBlockCommentEmptySelection() {

    org.junit.Assume.assumeTrue(!GraphicsEnvironment.isHeadless());
    RSyntaxTextArea scriptPanel = new RSyntaxTextArea();
    scriptPanel.setText(TEXT);
    // Try to comment when there is no selection.
    scriptPanel.select(13, 13);
    final String originalText = scriptPanel.getText();
    CommentUtil.blockCommentOrUncomment(scriptPanel);
    assertEquals(originalText, scriptPanel.getText());
}