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 TypeMethodDescriptionvoid
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
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
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.
-