use of com.epam.pipeline.controller.vo.AwsRegionVO in project cloud-pipeline by epam.
the class AwsRegionManagerTest method createShouldThrowIfSpecifiedCorsRulesAreInvalid.
@Test
public void createShouldThrowIfSpecifiedCorsRulesAreInvalid() {
final AwsRegionVO awsRegionVO = getAwsRegionVoBuilder().corsRules(INVALID_CORS_RULES).build();
assertThrows(AwsRegionException.class, () -> awsRegionManager.create(awsRegionVO));
}
Aggregations