public class TestUserResourceWithRolesEnabled extends BaseJiraRestTest
| Modifier and Type | Field and Description |
|---|---|
static String |
CHARLIE_USERNAME |
static String |
FRED_USERNAME |
static String |
SUPERUSER_USERNAME |
backdoor, environmentData, initClass, initData| Constructor and Description |
|---|
TestUserResourceWithRolesEnabled() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUpInstance() |
void |
shouldAddUserToApplication() |
void |
shouldDoNothingWhenUserIsNotInApplicationAndTryToRemove() |
void |
shouldNotAddUserToApplicationWhenUserIsNotAdmin() |
void |
shouldRemoveUserFromApplication() |
void |
shouldReturnErrorWhenTryToAddUserToApplication() |
void |
shouldReturnUserRoles() |
getEnvironmentDatapublic static final String FRED_USERNAME
public static final String CHARLIE_USERNAME
public static final String SUPERUSER_USERNAME
public void setUpInstance()
public void shouldAddUserToApplication()
throws Exception
Exceptionpublic void shouldRemoveUserFromApplication()
throws Exception
Exceptionpublic void shouldDoNothingWhenUserIsNotInApplicationAndTryToRemove()
public void shouldReturnErrorWhenTryToAddUserToApplication()
public void shouldNotAddUserToApplicationWhenUserIsNotAdmin()
Copyright © 2002-2017 Atlassian. All Rights Reserved.