public class EnvironmentDeletionServiceWiredTest extends Object
Modifier and Type | Field and Description |
---|---|
ImpersonationRule |
impersonationRule |
static PlanKey |
PLAN_KEY |
Constructor and Description |
---|
EnvironmentDeletionServiceWiredTest(DeploymentsTestService deploymentsTestService,
EnvironmentDeletionService environmentDeletionService,
EnvironmentService environmentService,
HibernateMutableAclService aclService,
ImpersonationService impersonationService) |
Modifier and Type | Method and Description |
---|---|
void |
testJoeIsAllowedToDeleteEnvironmentsForDeploymentProjectWhenHeWasGrantedPermissions() |
void |
testJoeIsAllowedToDeleteEnvironmentWhenHeWasGrantedPermissions() |
void |
testJoeIsAllowedToDeleteHisOwnEnvironment() |
void |
testJoeIsIsAllowedToDeleteEnvironmentsForHisOwnDeploymentProject() |
void |
testJoeIsNotAllowedToDeleteEnvironment() |
void |
testJoeIsNotAllowedToDeleteEnvironmentsForDeploymentProject() |
public static final PlanKey PLAN_KEY
public ImpersonationRule impersonationRule
@Inject public EnvironmentDeletionServiceWiredTest(DeploymentsTestService deploymentsTestService, EnvironmentDeletionService environmentDeletionService, EnvironmentService environmentService, HibernateMutableAclService aclService, ImpersonationService impersonationService)
public void testJoeIsNotAllowedToDeleteEnvironment() throws Exception
Exception
public void testJoeIsAllowedToDeleteEnvironmentWhenHeWasGrantedPermissions() throws Exception
Exception
public void testJoeIsAllowedToDeleteHisOwnEnvironment() throws Exception
Exception
public void testJoeIsNotAllowedToDeleteEnvironmentsForDeploymentProject() throws Exception
Exception
public void testJoeIsAllowedToDeleteEnvironmentsForDeploymentProjectWhenHeWasGrantedPermissions() throws Exception
Exception
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.