@Test
public void test_getOnboardedServiceAccounts_nonadmin_notfound() {

	UserDetails userDetails = getMockUser(false);
	String token = userDetails.getClientToken();
    String expectedOutput = "{\"keys\":[\"acc1\",\"acc2\"]}";
    String[] latestPolicies = {"o_svcacc_acc1", "o_svcacc_acc2"};
    when(JSONUtil.getJSON(Mockito.any(List.class))).thenReturn("[\"acc1\",\"acc2\"]");
    when(policyUtils.getCurrentPolicies(userDetails.getSelfSupportToken(), userDetails.getUsername(), userDetails)).thenReturn(latestPolicies);
	// System under test
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.OK).body(expectedOutput);
	ResponseEntity<String> responseEntity = serviceAccountsService.getOnboardedServiceAccounts(token, userDetails);
    assertEquals(HttpStatus.OK, responseEntity.getStatusCode());
	assertEquals(responseEntityExpected, responseEntity);
}