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, 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() |
forTest, forTest
public 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
Exception
public void shouldRemoveUserFromApplication() throws Exception
Exception
public void shouldDoNothingWhenUserIsNotInApplicationAndTryToRemove()
public void shouldReturnErrorWhenTryToAddUserToApplication()
public void shouldNotAddUserToApplicationWhenUserIsNotAdmin()
Copyright © 2002-2016 Atlassian. All Rights Reserved.