@Test
public void test_readSvcAccPassword_403() {

    UserDetails userDetails = getMockUser(true);
    String token = userDetails.getClientToken();
    String svcAccName = "testacc03";
    Response pwdReadResponse = getMockResponse(HttpStatus.FORBIDDEN, true,"");
    when(reqProcessor.process("/ad/serviceaccount/readpwd","{\"role_name\":\""+svcAccName+"\"}",token)).thenReturn(pwdReadResponse);
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.FORBIDDEN).body("{\"errors\":[\"Access denied: no permission to read the password details for the given service account\"]}");
    when(reqProcessor.process(eq("/sdb"),Mockito.any(),eq(token))).thenReturn(getMockResponse(HttpStatus.OK, true, "{\"data\":{\"initialPasswordReset\":true,\"managedBy\":\"normaluser\",\"name\":\"svc_vault_test5\",\"users\":{\"normaluser\":\"sudo\"}}}"));
    ResponseEntity<String> responseEntity = serviceAccountsService.readSvcAccPassword(token, svcAccName, userDetails);
    assertEquals(HttpStatus.FORBIDDEN, responseEntity.getStatusCode());
    assertEquals(responseEntityExpected, responseEntity);
}