Class DeploymentProjectServiceWiredTest
- java.lang.Object
-
- it.com.atlassian.bamboo.deployments.projects.service.DeploymentProjectServiceWiredTest
-
public class DeploymentProjectServiceWiredTest extends Object
-
-
Field Summary
Fields Modifier and Type Field Description ImpersonationRule
impersonationRule
static PlanKey
PLAN_KEY
-
Constructor Summary
Constructors Constructor Description DeploymentProjectServiceWiredTest(DeploymentProjectDeletionService deploymentProjectDeletionService, DeploymentsTestService deploymentsTestService, HibernateMutableAclService aclService, ImpersonationService impersonationService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testJoeIsAllowedToDeleteDeploymentProjectWhenHeWasGrantedPermissions()
void
testJoeIsIsAllowedToDeleteHisOwnDeploymentProject()
void
testJoeIsNotAllowedToDeleteDeploymentProject()
-
-
-
Field Detail
-
PLAN_KEY
public static final PlanKey PLAN_KEY
-
impersonationRule
public ImpersonationRule impersonationRule
-
-
Constructor Detail
-
DeploymentProjectServiceWiredTest
@Inject public DeploymentProjectServiceWiredTest(DeploymentProjectDeletionService deploymentProjectDeletionService, DeploymentsTestService deploymentsTestService, HibernateMutableAclService aclService, ImpersonationService impersonationService)
-
-
Method Detail
-
testJoeIsNotAllowedToDeleteDeploymentProject
public void testJoeIsNotAllowedToDeleteDeploymentProject() throws Exception
- Throws:
Exception
-
testJoeIsAllowedToDeleteDeploymentProjectWhenHeWasGrantedPermissions
public void testJoeIsAllowedToDeleteDeploymentProjectWhenHeWasGrantedPermissions() throws Exception
- Throws:
Exception
-
-