Interface CommentAssertions

All Known Implementing Classes:
DefaultCommentAssertions

public interface CommentAssertions
Responsible for holding assertions about a specified group of comments.
Since:
v4.2
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    areNotVisibleTo(String userName, String issueKey)
    Asserts whether the specified comments are not visible to a user in a specific issue.
    void
    areVisibleTo(String userName, String issueKey)
    Asserts whether the specified comments are visible to a user in a specific issue.
  • Method Details

    • areVisibleTo

      void areVisibleTo(String userName, String issueKey)
      Asserts whether the specified comments are visible to a user in a specific issue.
      Parameters:
      userName - The user-name of the user to check visibility for.
      issueKey - The issue key of the issue in play.
    • areNotVisibleTo

      void areNotVisibleTo(String userName, String issueKey)
      Asserts whether the specified comments are not visible to a user in a specific issue.
      Parameters:
      userName - The user-name of the user to check visibility for.
      issueKey - The issue key of the issue in play.