assertTrue(acds.contains(ApplicationTypeAccessConstraintDefinition.DEPLOYMENT));
ResourceDefinition childRd = new SimpleResourceDefinition(PathElement.pathElement("child"), new NonResolvingResourceDescriptionResolver()) {
@Override
public List<AccessConstraintDefinition> getAccessConstraints() {
return Arrays.asList(
<BUG>(AccessConstraintDefinition) SensitiveTargetAccessConstraintDefinition.SECURITY_DOMAIN,
(AccessConstraintDefinition) ApplicationTypeAccessConstraintDefinition.DEPLOYMENT
);</BUG>
}
};

assertTrue(acds.contains(ApplicationTypeAccessConstraintDefinition.DEPLOYMENT));
ResourceDefinition childRd = new SimpleResourceDefinition(PathElement.pathElement("child"), new NonResolvingResourceDescriptionResolver()) {
@Override
public List<AccessConstraintDefinition> getAccessConstraints() {
return Arrays.asList(
SensitiveTargetAccessConstraintDefinition.SECURITY_DOMAIN,
ApplicationTypeAccessConstraintDefinition.DEPLOYMENT
);
}
};
