@Test
public void test_getOnboarderdServiceAccount_notfound() {

	UserDetails userDetails = getMockUser(true);
	String token = userDetails.getClientToken();
	String svcAccName = "testacc03";
	// getOnboarderdServiceAccountDetails
	Response svcAccDtlsResponse = getMockResponse(HttpStatus.NOT_FOUND, true, getJSON(null));
	when(reqProcessor.process("/ad/serviceaccount/details","{\"role_name\":\""+svcAccName+"\"}",token)).thenReturn(svcAccDtlsResponse);
	// System under test
	String expectedMsg = "{\"errors\":[\"Either Service Account is not onbaorderd or you don't have enough permission to read\"]}";
	ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.NOT_FOUND).body(expectedMsg);
	ResponseEntity<String> responseEntity = serviceAccountsService.getOnboarderdServiceAccount(token, svcAccName, userDetails);
	assertEquals(HttpStatus.NOT_FOUND, responseEntity.getStatusCode());
	assertEquals(responseEntityExpected, responseEntity);
}