@Test(expected = TVaultValidationException.class)
public void test_updateRole_failure_400() throws TVaultValidationException{

    Response response = new Response();
    response.setHttpstatus(HttpStatus.OK);
    String token = "5PDrOhsy4ig8L3EpsJZSLAMg";
    AWSLoginRole awsLoginRole = new AWSLoginRole("ec2", "mytestawsrole", "ami-fce3c696",
            "1234567890123", "us-east-2", "vpc-2f09a348", "subnet-1122aabb",
            "arn:aws:iam::8987887:role/test-role", "arn:aws:iam::877677878:instance-profile/exampleinstanceprofile",
            "\"[prod, dev\"]");
    ResponseEntity<String> responseEntity = null;
    when(ControllerUtil.areAWSEC2RoleInputsValid(awsLoginRole)).thenReturn(false);
    responseEntity = awsAuthService.updateRole(token, awsLoginRole);
}