public class

DefaultCommentAssertions

extends Object
implements CommentAssertions
java.lang.Object
   ↳ com.atlassian.jira.functest.framework.assertions.DefaultCommentAssertions

Class Overview

Holds assertion methods around an issue's comments.

Summary

Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.functest.framework.assertions.CommentAssertions

Public Methods

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

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