public class DeploymentResultDeletionServiceWiredTest extends Object
| Modifier and Type | Field and Description |
|---|---|
ImpersonationRule |
impersonationRule |
static PlanKey |
PLAN_KEY |
| Constructor and Description |
|---|
DeploymentResultDeletionServiceWiredTest(DeploymentResultDeletionService deploymentResultDeletionService,
DeploymentResultService deploymentResultService,
DeploymentsTestService deploymentsTestService,
EnvironmentService environmentService,
HibernateMutableAclService aclService,
ImpersonationService impersonationService) |
| Modifier and Type | Method and Description |
|---|---|
void |
testJoeIsAllowedToDeleteDeploymentResultWhenHeWasGrantedPermissions() |
void |
testJoeIsIsAllowedToDeleteHisOwnDeploymentResult() |
void |
testJoeIsNotAllowedToDeleteDeploymentResult() |
public static final PlanKey PLAN_KEY
public ImpersonationRule impersonationRule
@Inject public DeploymentResultDeletionServiceWiredTest(DeploymentResultDeletionService deploymentResultDeletionService, DeploymentResultService deploymentResultService, DeploymentsTestService deploymentsTestService, EnvironmentService environmentService, HibernateMutableAclService aclService, ImpersonationService impersonationService)
public void testJoeIsNotAllowedToDeleteDeploymentResult()
throws Exception
Exceptionpublic void testJoeIsAllowedToDeleteDeploymentResultWhenHeWasGrantedPermissions()
throws Exception
ExceptionCopyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.