use of com.thinkbiganalytics.rest.model.RestResponseStatus in project kylo by Teradata.
the class EntityLevelAccessIT method assertAnalystCantAccessFeeds.
private void assertAnalystCantAccessFeeds() {
LOG.debug("EntityLevelAccessIT.assertAnalystCantAccessFeeds");
runAs(ANALYST);
Response response = getFeedsExpectingStatus(HTTP_FORBIDDEN);
RestResponseStatus status = response.as(RestResponseStatus.class);
Assert.assertEquals("Not authorized to perform the action: Access Feeds", status.getMessage());
}
Aggregations