@Test
public void test_resetSvcAccPassword_service_account_not_onboarded() {

	UserDetails userDetails = getMockUser(true);
	String token = userDetails.getClientToken();
	String svcAccName = "testacc03";
    Response svcAccDetailsRes = getMockResponse(HttpStatus.NOT_FOUND, true, "");
    when(reqProcessor.process("/ad/serviceaccount/details","{\"role_name\":\""+svcAccName+"\"}",token)).thenReturn(svcAccDetailsRes);
	ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.BAD_REQUEST).body("{\"errors\":[\"Unable to reset password details for the given service account\"]}");
	ResponseEntity<String> responseEntity = serviceAccountsService.resetSvcAccPassword(token, svcAccName, userDetails);
	assertEquals(HttpStatus.BAD_REQUEST, responseEntity.getStatusCode());
	assertEquals(responseEntityExpected, responseEntity);
}